]> granicus.if.org Git - python/commitdiff
Remove dots in \version{changed,added} argument and
authorGeorg Brandl <georg@python.org>
Sun, 15 Jan 2006 07:55:35 +0000 (07:55 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 15 Jan 2006 07:55:35 +0000 (07:55 +0000)
correct argument order.

Doc/lib/emailutil.tex
Doc/lib/libcmd.tex
Doc/lib/libfuncs.tex
Doc/lib/libos.tex
Doc/lib/librandom.tex
Doc/lib/libsocket.tex
Doc/ref/ref2.tex

index 3532273db9bdad3b6eef9ff4f53cacfbdb75e639..491a2b9d0ab8f69420b23aaf43bb953ba292d792 100644 (file)
@@ -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}
index ce01d240e33311e70db10098fb4c09c133ad4b7d..661eb9e45ca372a3104992912b49087a629688b4 100644 (file)
@@ -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}
index 98b4cfd2b097dc70e5005fbb8bc476d5174812a3..6146c3875972a0f6fe492f21dcc8a98582c6b6d1 100644 (file)
@@ -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}
 
 
index 325b8fee829a8982543c10e1bf231625a908a88f..0e1633b70bb769137cb480a5a873bcf55d6e5be5 100644 (file)
@@ -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}
index 7d06fdef5cdb9c99dc227477641aaf92a5e74f21..9d76574d0ae1d57dfc6237a74c935a57c9a12f3a 100644 (file)
@@ -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}
index 6c700a7c53c0823e84c80601a6652cb9f51ad9bb..cc7bd759ac52210eb893b981479782665770ec78 100644 (file)
@@ -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
index af79e4d7b0f38e11151fab5260347b396d6cba43..34e8a9e1ab44687d2645ec28cdcf2cdf5e0d2464 100644 (file)
@@ -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