]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 12 Aug 2024 18:43:53 +0000 (20:43 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2024 18:43:53 +0000 (18:43 +0000)
commitcd6908536606e8179998147e308ad89d600bc31f
tree1d9a99af223115e0d144ff4ebebc68bd2700af6f
parent0585a3fdb9821624050e140fe89e1e39df1f3866
[3.12] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949) (#122955)

gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949)

In the REPL, top level comments are followed by a primary, not secondary prompt.
Fix the places in the in the tutorial that use the latter.
(cherry picked from commit be90648fb2de58b148dcc7553a08ca646911baf2)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Doc/tutorial/controlflow.rst
Doc/tutorial/datastructures.rst
Doc/tutorial/inputoutput.rst
Doc/tutorial/introduction.rst