Skip to content

Commit

Permalink
Fix incorrect double indent in ast doc (pythonGH-94976)
Browse files Browse the repository at this point in the history
Warning directive indent was 4 rather than 3 spaces.
(cherry picked from commit a25a803)

Co-authored-by: Terry Jan Reedy <[email protected]>
  • Loading branch information
miss-islington and terryjreedy authored Jul 18, 2022
1 parent a923eb4 commit 95ae29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 95ae29d

Please sign in to comment.