https://github.com/python/cpython/commit/f5512a2498d0d99197f4f12b37d004fdf6deec85
commit: f5512a2498d0d99197f4f12b37d004fdf6deec85
branch: main
author: Tan90909090 <[email protected]>
committer: terryjreedy <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]