summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/emailutil.tex6
-rw-r--r--Doc/lib/libcmd.tex2
-rw-r--r--Doc/lib/libfuncs.tex6
-rw-r--r--Doc/lib/libos.tex2
-rw-r--r--Doc/lib/librandom.tex2
-rw-r--r--Doc/lib/libsocket.tex4
-rw-r--r--Doc/ref/ref2.tex2
7 files changed, 12 insertions, 12 deletions
diff --git a/Doc/lib/emailutil.tex b/Doc/lib/emailutil.tex
index 3532273..491a2b9 100644
--- a/Doc/lib/emailutil.tex
+++ b/Doc/lib/emailutil.tex
@@ -148,10 +148,10 @@ sequence of 2-tuples containing elements of the form
\end{funcdesc}
\versionchanged[The \function{dump_address_pair()} function has been removed;
-use \function{formataddr()} instead.]{2.4}
+use \function{formataddr()} instead]{2.4}
\versionchanged[The \function{decode()} function has been removed; use the
-\method{Header.decode_header()} method instead.]{2.4}
+\method{Header.decode_header()} method instead]{2.4}
\versionchanged[The \function{encode()} function has been removed; use the
-\method{Header.encode()} method instead.]{2.4}
+\method{Header.encode()} method instead]{2.4}
diff --git a/Doc/lib/libcmd.tex b/Doc/lib/libcmd.tex
index ce01d24..661eb9e 100644
--- a/Doc/lib/libcmd.tex
+++ b/Doc/lib/libcmd.tex
@@ -29,7 +29,7 @@ input and output file objects that the Cmd instance or subclass
instance will use for input and output. If not specified, they
will default to \var{sys.stdin} and \var{sys.stdout}.
-\versionchanged[The \var{stdin} and \var{stdout} parameters were added.]{2.3}
+\versionchanged[The \var{stdin} and \var{stdout} parameters were added]{2.3}
\end{classdesc}
\subsection{Cmd Objects}
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 98b4cfd..6146c38 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -536,7 +536,7 @@ class C:
\begin{funcdesc}{hex}{x}
Convert an integer number (of any size) to a hexadecimal string.
The result is a valid Python expression.
- \versionchanged[Formerly only returned an unsigned literal.]{2.4}
+ \versionchanged[Formerly only returned an unsigned literal]{2.4}
\end{funcdesc}
\begin{funcdesc}{id}{object}
@@ -708,7 +708,7 @@ class C:
\begin{funcdesc}{oct}{x}
Convert an integer number (of any size) to an octal string. The
result is a valid Python expression.
- \versionchanged[Formerly only returned an unsigned literal.]{2.4}
+ \versionchanged[Formerly only returned an unsigned literal]{2.4}
\end{funcdesc}
\begin{funcdesc}{open}{filename\optional{, mode\optional{, bufsize}}}
@@ -1171,7 +1171,7 @@ class C(B):
\versionchanged[Formerly, \function{zip()} required at least one argument
and \code{zip()} raised a \exception{TypeError} instead of returning
- an empty list.]{2.4}
+ an empty list]{2.4}
\end{funcdesc}
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 325b8fe..0e1633b 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -810,7 +810,7 @@ directory.
Availability: Macintosh, \UNIX, Windows.
\versionchanged[On Windows NT/2k/XP and \UNIX, if \var{path} is a Unicode
-object, the result will be a list of Unicode objects.]{2.3}
+object, the result will be a list of Unicode objects]{2.3}
\end{funcdesc}
\begin{funcdesc}{lstat}{path}
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex
index 7d06fde..9d76574 100644
--- a/Doc/lib/librandom.tex
+++ b/Doc/lib/librandom.tex
@@ -97,7 +97,7 @@ Bookkeeping functions:
\versionadded{2.1}
\versionchanged[Instead of jumping to a specific state, \var{n} steps
ahead, \method{jumpahead(\var{n})} jumps to another state likely to be
- separated by many steps.]{2.3}
+ separated by many steps]{2.3}
\end{funcdesc}
\begin{funcdesc}{getrandbits}{k}
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 6c700a7..cc7bd75 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -68,8 +68,8 @@ depending on the results from DNS resolution and/or the host
configuration. For deterministic behavior use a numeric address in
\var{host} portion.
-\versionadded[2.5]{AF_NETLINK sockets are represented as
-pairs \code{\var{pid}, \var{groups}}}
+\versionadded[AF_NETLINK sockets are represented as
+pairs \code{\var{pid}, \var{groups}}]{2.5}
All errors raise exceptions. The normal exceptions for invalid
argument types and out-of-memory conditions can be raised; errors
diff --git a/Doc/ref/ref2.tex b/Doc/ref/ref2.tex
index af79e4d..34e8a9e 100644
--- a/Doc/ref/ref2.tex
+++ b/Doc/ref/ref2.tex
@@ -9,7 +9,7 @@ chapter describes how the lexical analyzer breaks a file into tokens.
Python uses the 7-bit \ASCII{} character set for program text.
\versionadded[An encoding declaration can be used to indicate that
-string literals and comments use an encoding different from ASCII.]{2.3}
+string literals and comments use an encoding different from ASCII]{2.3}
For compatibility with older versions, Python only warns if it finds
8-bit characters; those warnings should be corrected by either declaring
an explicit encoding, or using escape sequences if those bytes are binary