Skip to content

Commit c04a981

Browse files
authored
Fix rendering of null character in ast.rst (python#116080)
1 parent fa1d675 commit c04a981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ast.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@ and classes for traversing abstract syntax trees:
21932193
is no guarantee that the parse (or success of the parse) is the same as
21942194
when run on the Python version corresponding to ``feature_version``.
21952195

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

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

0 commit comments

Comments
 (0)