Skip to content

Commit 56fcc23

Browse files
committed
markup adjustments
1 parent ae20722 commit 56fcc23

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

Doc/whatsnew/whatsnew24.tex

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
%======================================================================
3434
\section{PEP 218: Built-In Set Objects}
3535

36-
Two new built-in types, \function{set(iterable)} and
37-
\function{frozenset(iterable)} provide high speed data types for
36+
Two new built-in types, \function{set(\var{iterable})} and
37+
\function{frozenset(\var{iterable})} provide high speed data types for
3838
membership testing, for eliminating duplicates from sequences, and
3939
for mathematical operations like unions, intersections, differences,
4040
and symmetric differences.
@@ -91,7 +91,7 @@ \section{PEP 237: Unifying Long Integers and Integers}
9191
%======================================================================
9292
\section{PEP 322: Reverse Iteration}
9393

94-
A new built-in function, \function{reversed(seq)}, takes a sequence
94+
A new built-in function, \function{reversed(\var{seq})}, takes a sequence
9595
and returns an iterator that returns the elements of the sequence
9696
in reverse order.
9797

@@ -208,9 +208,10 @@ \section{Other Language Changes}
208208
and then sort the list by age, resulting in a list sorted by age where
209209
people with the same age are in name-sorted order.
210210

211-
\item There is a new built-in function \function{sorted(iterable)} that works
212-
like the in-place \method{list.sort()} method but has been made suitable
213-
for use in expressions. The differences are:
211+
\item There is a new built-in function
212+
\function{sorted(\var{iterable})} that works like the in-place
213+
\method{list.sort()} method but has been made suitable for use in
214+
expressions. The differences are:
214215
\begin{itemize}
215216
\item the input may be any iterable;
216217
\item a newly formed copy is sorted, leaving the original intact; and
@@ -561,9 +562,9 @@ \section{Porting to Python 2.4}
561562
\item \function{dircache.listdir()} now passes exceptions to the caller
562563
instead of returning empty lists.
563564

564-
\item \function{LexicalHandler.startDTD} used to receive public and system ID
565-
in the wrong order. This has been corrected; applications relying on the
566-
wrong order need to be fixed.
565+
\item \function{LexicalHandler.startDTD()} used to receive public and
566+
system ID in the wrong order. This has been corrected; applications
567+
relying on the wrong order need to be fixed.
567568

568569
\end{itemize}
569570

0 commit comments

Comments
 (0)