]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrect double indent in ast doc (#94976)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 18 Jul 2022 17:24:18 +0000 (13:24 -0400)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 17:24:18 +0000 (13:24 -0400)
Warning directive indent was 4 rather than 3 spaces.

Doc/library/ast.rst

index 6a9c23a81867ecdcaa03bb498f32901711f3d6e6..9aa545d82007fa282009611ebe80d9592d0446a3 100644 (file)
@@ -1951,7 +1951,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`