Skip to content

Commit

Permalink
bpo-34451: Document prompt and output toggle feature in html tutorial (
Browse files Browse the repository at this point in the history
…GH-27105) (GH-29119)

(cherry picked from commit 5a14f71)

Co-authored-by: Thomas <thmsdnnr@gmail.com>
  • Loading branch information
miss-islington and thmsdnnr authored Oct 21, 2021
1 parent 2a9ab75 commit 00ddc1f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ with a prompt are output from the interpreter. Note that a secondary prompt on a
line by itself in an example means you must type a blank line; this is used to
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.

.. index:: single: # (hash); comment

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

0 comments on commit 00ddc1f

Please sign in to comment.