https://github.com/python/cpython/commit/da34d55f7f62cfbda71758e6c6febf047ecd14e7
commit: da34d55f7f62cfbda71758e6c6febf047ecd14e7
branch: 3.11
author: Miss Islington (bot) <[email protected]>
committer: hauntsaninja <[email protected]>
date: 2024-02-29T22:42:31Z
summary:

[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 c04a981ff414b101736688773dbe24f824ca32ce)

Co-authored-by: Shantanu <[email protected]>

files:
M Doc/library/ast.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 837d70be0a3200..35242878c129de 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -2045,7 +2045,7 @@ and classes for traversing abstract syntax trees:
    ``await`` as variable names.  The lowest supported version is
    ``(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::
       Note that successfully parsing source code into an AST object doesn't

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to