mirror of
https://github.com/python/cpython.git
synced 2025-07-07 11:25:30 +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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue