mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Merge 3.2
This commit is contained in:
commit
0abb8b74d9
5 changed files with 4 additions and 10 deletions
|
|
@ -258,7 +258,6 @@ is considered sufficient for this determination.
|
|||
This is the equivalent of the Python expression ``hash(o)``.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
|
||||
The return type is now Py_hash_t. This is a signed integer the same size
|
||||
as Py_ssize_t.
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Each statement in :file:`__future__.py` is of the form::
|
|||
|
||||
|
||||
where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both are
|
||||
5-tuples of the same form as ``sys.version_info``::
|
||||
5-tuples of the same form as :data:`sys.version_info`::
|
||||
|
||||
(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int
|
||||
PY_MINOR_VERSION, # the 1; an int
|
||||
|
|
|
|||
|
|
@ -540,8 +540,8 @@ always available.
|
|||
|
||||
This is called ``hexversion`` since it only really looks meaningful when viewed
|
||||
as the result of passing it to the built-in :func:`hex` function. The
|
||||
``version_info`` value may be used for a more human-friendly encoding of the
|
||||
same information.
|
||||
:term:`struct sequence` :data:`sys.version_info` may be used for a more
|
||||
human-friendly encoding of the same information.
|
||||
|
||||
The ``hexversion`` is a 32-bit number with the following layout
|
||||
|
||||
|
|
|
|||
|
|
@ -690,7 +690,7 @@ input, output, and error streams.
|
|||
.. attribute:: BaseHandler.wsgi_file_wrapper
|
||||
|
||||
A ``wsgi.file_wrapper`` factory, or ``None``. The default value of this
|
||||
attribute is the :class:`FileWrapper` class from :mod:`wsgiref.util`.
|
||||
attribute is the :class:`wsgiref.util.FileWrapper` class.
|
||||
|
||||
|
||||
.. method:: BaseHandler.sendfile()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue