summaryrefslogtreecommitdiffstats
path: root/Doc/library/struct.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
commit55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch)
treea0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/struct.rst
parent1617457cff847fed9fadb01f1acf6ba8bb621726 (diff)
downloadcpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/struct.rst')
-rw-r--r--Doc/library/struct.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index 9cf4eb2..b28f9b4 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -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.