summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2015-05-10 22:00:38 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2015-05-10 22:00:38 (GMT)
commitd29d0393f37af0166439618e4386c68492f66c5d (patch)
tree1e50575ce7b34963909ef7294052e5dacf2919c5
parentddc6171b5902b3512e62183ed608a1fa3ae6ac5d (diff)
downloadcpython-d29d0393f37af0166439618e4386c68492f66c5d.zip
cpython-d29d0393f37af0166439618e4386c68492f66c5d.tar.gz
cpython-d29d0393f37af0166439618e4386c68492f66c5d.tar.bz2
- Do not italicize punctuation in the python man page
-rw-r--r--Misc/python.man12
1 files changed, 6 insertions, 6 deletions
diff --git a/Misc/python.man b/Misc/python.man
index d87902f..0ca5e91 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -289,9 +289,9 @@ executes a
from that file;
when called with
.B \-c
-.I command,
+.IR command ,
it executes the Python statement(s) given as
-.I command.
+.IR command .
Here
.I command
may contain multiple statements separated by newlines.
@@ -301,7 +301,7 @@ executed.
.PP
If available, the script name and additional arguments thereafter are
passed to the script in the Python variable
-.I sys.argv ,
+.IR sys.argv ,
which is a list of strings (you must first
.I import sys
to be able to access it).
@@ -315,14 +315,14 @@ contains the string
.I '-c'.
Note that options interpreted by the Python interpreter itself
are not placed in
-.I sys.argv.
+.IR sys.argv .
.PP
In interactive mode, the primary prompt is `>>>'; the second prompt
(which appears when a command is not complete) is `...'.
The prompts can be changed by assignment to
.I sys.ps1
or
-.I sys.ps2.
+.IR sys.ps2 .
The interpreter quits when it reads an EOF at a prompt.
When an unhandled exception occurs, a stack trace is printed and
control returns to the primary prompt; in non-interactive mode, the
@@ -381,7 +381,7 @@ If a script argument is given, the directory containing the script is
inserted in the path in front of $PYTHONPATH.
The search path can be manipulated from within a Python program as the
variable
-.I sys.path .
+.IR sys.path .
.IP PYTHONSTARTUP
If this is the name of a readable file, the Python commands in that
file are executed before the first prompt is displayed in interactive