Merge pull request #5782 from tk0miya/refactor_six.UserString

refactor: Replace six.UserString by collections.UserString
This commit is contained in:
Takeshi KOMIYA 2018-12-15 20:58:16 +09:00 committed by GitHub
commit 41492066a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -12,11 +12,10 @@
import gettext
import locale
import warnings
from collections import defaultdict
from collections import UserString, defaultdict
from gettext import NullTranslations
from six import text_type
from six.moves import UserString
from sphinx.deprecation import RemovedInSphinx30Warning

View File

@ -10,9 +10,9 @@
"""
import json
from collections import UserString
from six import text_type
from six.moves import UserString
if False:
# For type annotation