diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-07-18 17:33:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 17:33:47 (GMT) |
commit | 95ae29d508af16be5221692eecdfe7077ebd5f3f (patch) | |
tree | ff0c3b579dc47eea40496dc88d5bf11494435b2a /Doc | |
parent | a923eb47c29a1cbcbc12e1996700f50b0f3bf19e (diff) | |
download | cpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.zip cpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.tar.gz cpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.tar.bz2 |
Fix incorrect double indent in ast doc (GH-94976)
Warning directive indent was 4 rather than 3 spaces.
(cherry picked from commit a25a803c4c452c70da11be3e80004b47646bff4c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ast.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 1133f02..bbafcee 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -1919,7 +1919,7 @@ and classes for traversing abstract syntax trees: If source contains a null character ('\0'), :exc:`ValueError` is raised. - .. warning:: + .. warning:: Note that successfully parsing source code into an AST object doesn't guarantee that the source code provided is valid Python code that can be executed as the compilation step can raise further :exc:`SyntaxError` |