Skip to content

Commit

Permalink
Fix incorrect double indent in ast doc (#94976)
Browse files Browse the repository at this point in the history
Warning directive indent was 4 rather than 3 spaces.
  • Loading branch information
terryjreedy authored Jul 18, 2022
1 parent daf68ba commit a25a803
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 @@ -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`
Expand Down

0 comments on commit a25a803

Please sign in to comment.