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

Skip to content

Commit 6708756

Browse files
committed
Fix typos
1 parent d446230 commit 6708756

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/whatsnew24.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ \section{Other Language Changes}
119119
\begin{itemize}
120120

121121
\item The string methods, \method{ljust()}, \method{rjust()}, and
122-
\method{center()} now take a optional argument for specifying a
122+
\method{center()} now take an optional argument for specifying a
123123
fill character other than a space.
124124

125125
\item The \method{sort()} method of lists gained three keyword
@@ -211,7 +211,7 @@ \section{Other Language Changes}
211211

212212

213213
\item The \function{zip()} built-in function and \function{itertools.izip()}
214-
now returns an empty list instead of raising a \exception{TypeError}
214+
now return an empty list instead of raising a \exception{TypeError}
215215
exception if called with no arguments. This makes the functions more
216216
suitable for use with variable length argument lists:
217217

0 commit comments

Comments
 (0)