diff options
author | Louis Maddox <lmmx@users.noreply.github.com> | 2021-07-18 23:11:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-18 23:11:08 +0100 |
commit | d230147e48bafe9c330a7a7767e79aa026e75efc (patch) | |
tree | 099f5e065de5dc5a15e334d42c2ad7dff2c4236a /sphinx | |
parent | c8da1a08c55b660066829f85c799130fcb449e18 (diff) | |
download | sphinx-git-d230147e48bafe9c330a7a7767e79aa026e75efc.tar.gz |
Improve sphinx.pycode.ast docstrings
Diffstat (limited to 'sphinx')
-rw-r--r-- | sphinx/pycode/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/pycode/ast.py b/sphinx/pycode/ast.py index 23da575bd..7bba423b4 100644 --- a/sphinx/pycode/ast.py +++ b/sphinx/pycode/ast.py @@ -45,7 +45,7 @@ OPERATORS: Dict[Type[ast.AST], str] = { def parse(code: str, mode: str = 'exec') -> "ast.AST": - """Parse the *code* using built-in ast or typed_ast. + """Parse the *code* using the built-in ast or typed_ast libraries. This enables "type_comments" feature if possible. """ |