mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Get rid of the remaining versionadded/versionchanged directives.
This commit is contained in:
parent
1617457cff
commit
55ac8f0f26
161 changed files with 335 additions and 2197 deletions
|
@ -37,8 +37,6 @@ The module defines the following exception and functions:
|
|||
bytes into the writable *buffer* starting at *offset*. Note that the offset is
|
||||
a required argument.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
|
||||
.. function:: unpack(fmt, string)
|
||||
|
||||
|
@ -55,8 +53,6 @@ The module defines the following exception and functions:
|
|||
of data required by the format (``len(buffer[offset:])`` must be at least
|
||||
``calcsize(fmt)``).
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
|
||||
.. function:: calcsize(fmt)
|
||||
|
||||
|
@ -114,15 +110,11 @@ Notes:
|
|||
C99. If this type is not available, it is simulated using a :ctype:`char`. In
|
||||
standard mode, it is always represented by one byte.
|
||||
|
||||
.. versionadded:: 2.6
|
||||
|
||||
(2)
|
||||
The ``'q'`` and ``'Q'`` conversion codes are available in native mode only if
|
||||
the platform C compiler supports C :ctype:`long long`, or, on Windows,
|
||||
:ctype:`__int64`. They are always available in standard modes.
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
A format character may be preceded by an integral repeat count. For example,
|
||||
the format string ``'4h'`` means exactly the same as ``'hhhh'``.
|
||||
|
||||
|
@ -258,11 +250,9 @@ The :mod:`struct` module also defines the following type:
|
|||
is more efficient than calling the :mod:`struct` functions with the same format
|
||||
since the format string only needs to be compiled once.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
Compiled Struct objects support the following methods and attributes:
|
||||
|
||||
|
||||
.. method:: Struct.pack(v1, v2, ...)
|
||||
|
||||
Identical to the :func:`pack` function, using the compiled format.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue