Skip to content

Commit 5a14f71

Browse files
authored
bpo-34451: Document prompt and output toggle feature in html tutorial (GH-27105)
1 parent a53456e commit 5a14f71

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/tutorial/introduction.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ with a prompt are output from the interpreter. Note that a secondary prompt on a
1111
line by itself in an example means you must type a blank line; this is used to
1212
end a multi-line command.
1313

14+
.. only:: html
15+
16+
You can toggle the display of prompts and output by clicking on ``>>>``
17+
in the upper-right corner of an example box. If you hide the prompts
18+
and output for an example, then you can easily copy and paste the input
19+
lines into your interpreter.
20+
1421
.. index:: single: # (hash); comment
1522

1623
Many of the examples in this manual, even those entered at the interactive

0 commit comments

Comments
 (0)