]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Update tutorial for new "Copy" button (GH-135007) (#135271)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 Jun 2025 17:13:34 +0000 (19:13 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Jun 2025 17:13:34 +0000 (17:13 +0000)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/tutorial/introduction.rst

index cdb35da7bc95baf2fcd5bf6da7e7f570ff85d0c4..9e06e03991bc9686b9cc4bffc4126eed9c0402b9 100644 (file)
@@ -13,10 +13,9 @@ end a multi-line command.
 
 .. only:: html
 
-   You can toggle the display of prompts and output by clicking on ``>>>``
-   in the upper-right corner of an example box.  If you hide the prompts
-   and output for an example, then you can easily copy and paste the input
-   lines into your interpreter.
+   You can use the "Copy" button (it appears in the upper-right corner
+   when hovering over or tapping a code example), which strips prompts
+   and omits output, to copy and paste the input lines into your interpreter.
 
 .. index:: single: # (hash); comment