https://github.com/python/cpython/commit/8d865f19bd9d21ee3cce515742db25f44d1... commit: 8d865f19bd9d21ee3cce515742db25f44d167b0f branch: 3.12 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: hauntsaninja <12621235+hauntsaninja@users.noreply.github.com> date: 2024-02-29T22:42:25Z summary: [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 c04a981ff414b101736688773dbe24f824ca32ce) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> files: M Doc/library/ast.rst diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 770eabf0c4214c..793e9ee1c8e409 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -2185,7 +2185,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