From d230147e48bafe9c330a7a7767e79aa026e75efc Mon Sep 17 00:00:00 2001 From: Louis Maddox Date: Sun, 18 Jul 2021 23:11:08 +0100 Subject: Improve sphinx.pycode.ast docstrings --- sphinx/pycode/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/pycode/ast.py') 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. """ -- cgit v1.2.1