%======================================================================
\section{PEP 218: Built-In Set Objects}
-Two new built-in types, \function{set(iterable)} and
-\function{frozenset(iterable)} provide high speed data types for
+Two new built-in types, \function{set(\var{iterable})} and
+\function{frozenset(\var{iterable})} provide high speed data types for
membership testing, for eliminating duplicates from sequences, and
for mathematical operations like unions, intersections, differences,
and symmetric differences.
%======================================================================
\section{PEP 322: Reverse Iteration}
-A new built-in function, \function{reversed(seq)}, takes a sequence
+A new built-in function, \function{reversed(\var{seq})}, takes a sequence
and returns an iterator that returns the elements of the sequence
in reverse order.
and then sort the list by age, resulting in a list sorted by age where
people with the same age are in name-sorted order.
-\item There is a new built-in function \function{sorted(iterable)} that works
-like the in-place \method{list.sort()} method but has been made suitable
-for use in expressions. The differences are:
+\item There is a new built-in function
+\function{sorted(\var{iterable})} that works like the in-place
+\method{list.sort()} method but has been made suitable for use in
+expressions. The differences are:
\begin{itemize}
\item the input may be any iterable;
\item a newly formed copy is sorted, leaving the original intact; and
\item \function{dircache.listdir()} now passes exceptions to the caller
instead of returning empty lists.
-\item \function{LexicalHandler.startDTD} used to receive public and system ID
- in the wrong order. This has been corrected; applications relying on the
- wrong order need to be fixed.
+\item \function{LexicalHandler.startDTD()} used to receive public and
+ system ID in the wrong order. This has been corrected; applications
+ relying on the wrong order need to be fixed.
\end{itemize}