Skip to content

Commit

Permalink
Fix rendering of null character in ast.rst (python#116080)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Feb 29, 2024
1 parent fa1d675 commit c04a981
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 @@ -2193,7 +2193,7 @@ and classes for traversing abstract syntax trees:
is no guarantee that the parse (or success of the parse) is the same as
when run on the Python version corresponding to ``feature_version``.

If source contains a null character ('\0'), :exc:`ValueError` is raised.
If source contains a null character (``\0``), :exc:`ValueError` is raised.

.. warning::
Note that successfully parsing source code into an AST object doesn't
Expand Down

0 comments on commit c04a981

Please sign in to comment.