Skip to content

Commit da34d55

Browse files
[3.11] Fix rendering of null character in ast.rst (GH-116080) (#116161)
Fix rendering of null character in ast.rst (GH-116080) (cherry picked from commit c04a981) Co-authored-by: Shantanu <[email protected]>
1 parent 8014ffd commit da34d55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2045,7 +2045,7 @@ and classes for traversing abstract syntax trees:
20452045
``await`` as variable names. The lowest supported version is
20462046
``(3, 4)``; the highest is ``sys.version_info[0:2]``.
20472047

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

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

0 commit comments

Comments
 (0)