File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 148148\end {funcdesc }
149149
150150\versionchanged [The \function {dump_address_pair()} function has been removed;
151- use \function {formataddr()} instead. ]{2.4}
151+ use \function {formataddr()} instead]{2.4}
152152
153153\versionchanged [The \function {decode()} function has been removed; use the
154- \method {Header.decode_header()} method instead. ]{2.4}
154+ \method {Header.decode_header()} method instead]{2.4}
155155
156156\versionchanged [The \function {encode()} function has been removed; use the
157- \method {Header.encode()} method instead. ]{2.4}
157+ \method {Header.encode()} method instead]{2.4}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ \section{\module{cmd} ---
2929instance will use for input and output. If not specified, they
3030will default to \var {sys.stdin} and \var {sys.stdout}.
3131
32- \versionchanged [The \var {stdin} and \var {stdout} parameters were added. ]{2.3}
32+ \versionchanged [The \var {stdin} and \var {stdout} parameters were added]{2.3}
3333\end {classdesc }
3434
3535\subsection {Cmd Objects }
Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ \section{Built-in Functions \label{built-in-funcs}}
536536\begin {funcdesc }{hex}{x}
537537 Convert an integer number (of any size) to a hexadecimal string.
538538 The result is a valid Python expression.
539- \versionchanged [Formerly only returned an unsigned literal. ]{2.4}
539+ \versionchanged [Formerly only returned an unsigned literal]{2.4}
540540\end {funcdesc }
541541
542542\begin {funcdesc }{id}{object}
@@ -708,7 +708,7 @@ \section{Built-in Functions \label{built-in-funcs}}
708708\begin {funcdesc }{oct}{x}
709709 Convert an integer number (of any size) to an octal string. The
710710 result is a valid Python expression.
711- \versionchanged [Formerly only returned an unsigned literal. ]{2.4}
711+ \versionchanged [Formerly only returned an unsigned literal]{2.4}
712712\end {funcdesc }
713713
714714\begin {funcdesc }{open}{filename\optional {, mode\optional {, bufsize}}}
@@ -1171,7 +1171,7 @@ \section{Built-in Functions \label{built-in-funcs}}
11711171
11721172 \versionchanged [Formerly, \function {zip()} required at least one argument
11731173 and \code {zip()} raised a \exception {TypeError} instead of returning
1174- an empty list. ]{2.4}
1174+ an empty list]{2.4}
11751175\end {funcdesc }
11761176
11771177
Original file line number Diff line number Diff line change @@ -810,7 +810,7 @@ \subsection{Files and Directories \label{os-file-dir}}
810810Availability: Macintosh, \UNIX , Windows.
811811
812812\versionchanged [On Windows NT/2k/XP and \UNIX , if \var {path} is a Unicode
813- object, the result will be a list of Unicode objects. ]{2.3}
813+ object, the result will be a list of Unicode objects]{2.3}
814814\end {funcdesc }
815815
816816\begin {funcdesc }{lstat}{path}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ \section{\module{random} ---
9797 \versionadded {2.1}
9898 \versionchanged [Instead of jumping to a specific state, \var {n} steps
9999 ahead, \method {jumpahead(\var {n})} jumps to another state likely to be
100- separated by many steps. ]{2.3}
100+ separated by many steps]{2.3}
101101 \end {funcdesc }
102102
103103\begin {funcdesc }{getrandbits}{k}
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ \section{\module{socket} ---
6868configuration. For deterministic behavior use a numeric address in
6969\var {host} portion.
7070
71- \versionadded [2.5]{ AF_NETLINK sockets are represented as
72- pairs \code {\var {pid}, \var {groups}}}
71+ \versionadded [AF_NETLINK sockets are represented as
72+ pairs \code {\var {pid}, \var {groups}}]{2.5 }
7373
7474All errors raise exceptions. The normal exceptions for invalid
7575argument types and out-of-memory conditions can be raised; errors
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ \chapter{Lexical analysis\label{lexical}}
99
1010Python uses the 7-bit \ASCII {} character set for program text.
1111\versionadded [An encoding declaration can be used to indicate that
12- string literals and comments use an encoding different from ASCII. ]{2.3}
12+ string literals and comments use an encoding different from ASCII]{2.3}
1313For compatibility with older versions, Python only warns if it finds
14148-bit characters; those warnings should be corrected by either declaring
1515an explicit encoding, or using escape sequences if those bytes are binary
You can’t perform that action at this time.
0 commit comments