diff options
-rw-r--r-- | sphinx/util/pycompat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py index a3521b01e..7c2b0dad3 100644 --- a/sphinx/util/pycompat.py +++ b/sphinx/util/pycompat.py @@ -14,7 +14,7 @@ from html import escape as htmlescape # NOQA from io import TextIOWrapper # NOQA from textwrap import indent # type: ignore # NOQA -from six import text_type, exec_ +from six import text_type if False: # For type annotation @@ -86,4 +86,4 @@ def execfile_(filepath, _globals, open=open): code = compile(source, filepath_enc, 'exec') else: raise - exec_(code, _globals) + exec(code, _globals) |