mirror of
https://github.com/python/cpython.git
synced 2025-10-02 05:12:23 +00:00
[3.12] Fix rendering of null character in ast.rst (GH-116080) (#116160)
Fix rendering of null character in ast.rst (GH-116080)
(cherry picked from commit c04a981ff4
)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
211b55951d
commit
8d865f19bd
1 changed files with 1 additions and 1 deletions
|
@ -2185,7 +2185,7 @@ and classes for traversing abstract syntax trees:
|
||||||
``await`` as variable names. The lowest supported version is
|
``await`` as variable names. The lowest supported version is
|
||||||
``(3, 4)``; the highest is ``sys.version_info[0:2]``.
|
``(3, 4)``; the highest is ``sys.version_info[0:2]``.
|
||||||
|
|
||||||
If source contains a null character ('\0'), :exc:`ValueError` is raised.
|
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
|
Note that successfully parsing source code into an AST object doesn't
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue