mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #5782 from tk0miya/refactor_six.UserString
refactor: Replace six.UserString by collections.UserString
This commit is contained in:
commit
41492066a3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user