]> 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:34:09 +0000 (10:34 -0700)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 17:34:09 +0000 (10:34 -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 041a099b2043b4fb8f94bcd6f88985193be48624..b3c59c745ba61ca886e39f4ba3ab1687d16202b4 100644 (file)
@@ -1950,7 +1950,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`