Skip to content

Commit 19f6d9c

Browse files
committed
fix: some subcommand and docs
1 parent df3a182 commit 19f6d9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/idle.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,13 +666,14 @@ IDLE can be invoked from the command line with various options. The general synt
666666

667667
.. code-block:: bash
668668
669-
idle [options] [file ...]
669+
python -m idlelib idle [options] [file ...]
670670
671671
The following options are available:
672672

673673
.. option:: -c <command>
674674

675-
Run the specified Python command in the shell window. For example:
675+
Run the specified Python command in the shell window. For example, pass ``-c "print('Hello, World!')"``.
676+
On Windows, the outer quotes must be double quotes as shown.
676677

677678
.. code-block:: bash
678679

0 commit comments

Comments
 (0)