diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-12 02:50:43 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-11-12 02:50:43 +0900 |
commit | 279e547860ea68e3c357f55e608afec682a1f961 (patch) | |
tree | dc08e85ab0210538e30b5b801bf9d80ab49bfb3f /sphinx/util/pycompat.py | |
parent | 859b5fcea71f8d4f46e0ef3726e68df54bfbc3b7 (diff) | |
parent | 64fb1e56242d93ee0e8c317ab9e7643242b99658 (diff) | |
download | sphinx-git-279e547860ea68e3c357f55e608afec682a1f961.tar.gz |
Merge branch '3.x'
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r-- | sphinx/util/pycompat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py index 5aeb0f9cc..0c0ac12d6 100644 --- a/sphinx/util/pycompat.py +++ b/sphinx/util/pycompat.py @@ -24,8 +24,8 @@ def convert_with_2to3(filepath: str) -> str: RemovedInSphinx60Warning, stacklevel=2) try: - from lib2to3.refactor import RefactoringTool, get_fixers_from_package from lib2to3.pgen2.parse import ParseError + from lib2to3.refactor import RefactoringTool, get_fixers_from_package except ImportError as exc: # python 3.9.0a6+ emits PendingDeprecationWarning for lib2to3. # Additionally, removal of the module is still discussed at PEP-594. |