Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
065f5fac
Commit
065f5fac
authored
Feb 10, 2003
by
Michael W. Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sundry very picky changes.
parent
aab02606
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Doc/whatsnew/whatsnew23.tex
Doc/whatsnew/whatsnew23.tex
+5
-4
No files found.
Doc/whatsnew/whatsnew23.tex
View file @
065f5fac
...
@@ -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 L
ibrary
(SSL) support.
Sockets L
ayer
(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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment