[Python-checkins] cpython (2.7): - Do not italicize punctuation in the python man page
matthias.klose
python-checkins at python.org
Mon May 11 00:00:48 CEST 2015
https://hg.python.org/cpython/rev/b918c0ab8049
changeset: 95941:b918c0ab8049
branch: 2.7
parent: 95939:4f2fc30d483f
user: doko at ubuntu.com
date: Mon May 11 00:00:38 2015 +0200
summary:
- Do not italicize punctuation in the python man page
files:
Misc/python.man | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Misc/python.man b/Misc/python.man
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -289,9 +289,9 @@
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 @@
.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 @@
.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 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list