Package: python2.5-minimal
Version: 2.5.2-15+lenny1
Severity: minor
Tags: patch

Hi,

In the python(1) manual page, some punctuation that shouldn't be
italicized (e.g., the comma or period after a variable name) is.  The
attached patch fixes the cases that I found.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-xen-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5-minimal depends on:
ii  libc6                  2.7-18lenny2      GNU C Library: Shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages python2.5-minimal recommends:
ii  python2.5                2.5.2-15+lenny1 An interactive high-level object-o

Versions of packages python2.5-minimal suggests:
pn  binfmt-support                <none>     (no description available)

-- no debconf information
diff -ru python2.5-2.5.2/Misc/python.man python2.5/Misc/python.man
--- python2.5-2.5.2/Misc/python.man	2010-04-26 09:17:43.000000000 -0700
+++ python2.5/Misc/python.man	2010-04-26 09:16:39.000000000 -0700
@@ -243,9 +243,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.
@@ -255,7 +255,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).
@@ -269,14 +269,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
@@ -335,7 +335,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

Reply via email to