correct argument order.
\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}
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}
\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}
\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}}}
\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}
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}
\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}
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
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