https://github.com/python/cpython/commit/f5512a2498d0d99197f4f12b37d004fdf6deec85
commit: f5512a2498d0d99197f4f12b37d004fdf6deec85
branch: main
author: Tan90909090 <tan9...@live.jp>
committer: terryjreedy <tjre...@udel.edu>
date: 2025-04-16T19:23:13Z
summary:

gh-132608: Fix a sample code coloring for ast.While (#132609)

Add missing '>' in prompt.

files:
M Doc/library/ast.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index fd901e232855b5..1a04d42e5f5d7e 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1190,7 +1190,7 @@ Control flow
 
    .. doctest::
 
-        >> print(ast.dump(ast.parse("""
+        >>> print(ast.dump(ast.parse("""
         ... while x:
         ...    ...
         ... else:

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to