Commit 065f5fac authored by Michael W. Hudson's avatar Michael W. Hudson

Sundry very picky changes.

parent aab02606
...@@ -101,8 +101,7 @@ Set([1, 2, 5, 6]) ...@@ -101,8 +101,7 @@ Set([1, 2, 5, 6])
\end{verbatim} \end{verbatim}
There are also \method{issubset()} and \method{issuperset()} methods There are also \method{issubset()} and \method{issuperset()} methods
for checking whether one set is a strict subset or superset of for checking whether one set is a subset or superset of another:
another:
\begin{verbatim} \begin{verbatim}
>>> S1 = sets.Set([1,2,3]) >>> S1 = sets.Set([1,2,3])
...@@ -543,7 +542,7 @@ A Boolean type was added to Python 2.3. Two new constants were added ...@@ -543,7 +542,7 @@ A Boolean type was added to Python 2.3. Two new constants were added
to the \module{__builtin__} module, \constant{True} and to the \module{__builtin__} module, \constant{True} and
\constant{False}. (\constant{True} and \constant{False}. (\constant{True} and
\constant{False} constants were added to the built-ins \constant{False} constants were added to the built-ins
in Python 2.2.2, but the 2.2.2 versions simply have integer values of in Python 2.2.1, but the 2.2.1 versions simply have integer values of
1 and 0 and aren't a different type.) 1 and 0 and aren't a different type.)
The type object for this new type is named The type object for this new type is named
...@@ -1484,7 +1483,7 @@ in, Guido van~Rossum rewrote parts of it. (This is a good example of ...@@ -1484,7 +1483,7 @@ in, Guido van~Rossum rewrote parts of it. (This is a good example of
a collaborative development process in action.) a collaborative development process in action.)
\item On Windows, the \module{socket} module now ships with Secure \item On Windows, the \module{socket} module now ships with Secure
Sockets Library (SSL) support. Sockets Layer (SSL) support.
\item The value of the C \constant{PYTHON_API_VERSION} macro is now exposed \item The value of the C \constant{PYTHON_API_VERSION} macro is now exposed
at the Python level as \code{sys.api_version}. at the Python level as \code{sys.api_version}.
...@@ -1660,6 +1659,8 @@ Any breakage caused by this change should be reported as a bug. ...@@ -1660,6 +1659,8 @@ Any breakage caused by this change should be reported as a bug.
%====================================================================== %======================================================================
\subsection{Date/Time Type} \subsection{Date/Time Type}
% XXX This is out-of-date already: timetz and so on have gone away.
Date and time types suitable for expressing timestamps were added as Date and time types suitable for expressing timestamps were added as
the \module{datetime} module. The types don't support different the \module{datetime} module. The types don't support different
calendars or many fancy features, and just stick to the basics of calendars or many fancy features, and just stick to the basics of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment