]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrect double indent in ast doc (GH-94976)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 18 Jul 2022 17:33:47 +0000 (10:33 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 17:33:47 +0000 (10:33 -0700)
Warning directive indent was 4 rather than 3 spaces.
(cherry picked from commit a25a803c4c452c70da11be3e80004b47646bff4c)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/ast.rst

index 1133f022da56c012cbb8c90cf0ccaf7d53891cfb..bbafcee5246f8219fc56d193188a1b4fe5a6a0f3 100644 (file)
@@ -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`