mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Update tutorial for new "Copy" button (#135007)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
aee45fd03f
commit
254bdac711
1 changed files with 3 additions and 4 deletions
|
@ -13,10 +13,9 @@ end a multi-line command.
|
||||||
|
|
||||||
.. only:: html
|
.. only:: html
|
||||||
|
|
||||||
You can toggle the display of prompts and output by clicking on ``>>>``
|
You can use the "Copy" button (it appears in the upper-right corner
|
||||||
in the upper-right corner of an example box. If you hide the prompts
|
when hovering over or tapping a code example), which strips prompts
|
||||||
and output for an example, then you can easily copy and paste the input
|
and omits output, to copy and paste the input lines into your interpreter.
|
||||||
lines into your interpreter.
|
|
||||||
|
|
||||||
.. index:: single: # (hash); comment
|
.. index:: single: # (hash); comment
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue