Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a635fbb

Browse files
committed
Remove dots in \version{changed,added} argument and
correct argument order.
1 parent d056005 commit a635fbb

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

Doc/lib/emailutil.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@
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}

Doc/lib/libcmd.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ \section{\module{cmd} ---
2929
instance will use for input and output. If not specified, they
3030
will 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}

Doc/lib/libfuncs.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

Doc/lib/libos.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ \subsection{Files and Directories \label{os-file-dir}}
810810
Availability: 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}

Doc/lib/librandom.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}

Doc/lib/libsocket.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ \section{\module{socket} ---
6868
configuration. 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

7474
All errors raise exceptions. The normal exceptions for invalid
7575
argument types and out-of-memory conditions can be raised; errors

Doc/ref/ref2.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ \chapter{Lexical analysis\label{lexical}}
99

1010
Python 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}
1313
For compatibility with older versions, Python only warns if it finds
1414
8-bit characters; those warnings should be corrected by either declaring
1515
an explicit encoding, or using escape sequences if those bytes are binary

0 commit comments

Comments
 (0)