summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-05-03 16:21:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-05-03 16:21:40 (GMT)
commit510ff54324de94af23d5e229a176bffe09a87fd4 (patch)
tree15d958b96a7d2500428b4d657bb7a680eed3a2dc /Doc/c-api
parente5d3bc4700d01a0beb57df84cdf6033acee49e3d (diff)
downloadcpython-510ff54324de94af23d5e229a176bffe09a87fd4.zip
cpython-510ff54324de94af23d5e229a176bffe09a87fd4.tar.gz
cpython-510ff54324de94af23d5e229a176bffe09a87fd4.tar.bz2
Use Python 3 instead of 3.0.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/buffer.rst2
-rw-r--r--Doc/c-api/objbuffer.rst2
-rw-r--r--Doc/c-api/typeobj.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 7b6d1ae..e028369 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -33,7 +33,7 @@ returning data from the target object.
Starting from version 1.6, Python has been providing Python-level buffer
objects and a C-level buffer API so that any built-in or used-defined type can
expose its characteristics. Both, however, have been deprecated because of
-various shortcomings, and have been officially removed in Python 3.0 in favour
+various shortcomings, and have been officially removed in Python 3 in favour
of a new C-level buffer API and a new Python-level object named
:class:`memoryview`.
diff --git a/Doc/c-api/objbuffer.rst b/Doc/c-api/objbuffer.rst
index 90dce62..c5228c6 100644
--- a/Doc/c-api/objbuffer.rst
+++ b/Doc/c-api/objbuffer.rst
@@ -8,7 +8,7 @@ Old Buffer Protocol
This section describes the legacy buffer protocol, which has been introduced
in Python 1.6. It is still supported but deprecated in the Python 2.x series.
-Python 3.0 introduces a new buffer protocol which fixes weaknesses and
+Python 3 introduces a new buffer protocol which fixes weaknesses and
shortcomings of the protocol, and has been backported to Python 2.6. See
:ref:`bufferobjects` for more information.
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 5bda1ff..7c37786 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -1227,7 +1227,7 @@ on the flag bit :const:`Py_TPFLAGS_CHECKTYPES`:
- If the :const:`Py_TPFLAGS_CHECKTYPES` flag is set, binary and ternary
functions must check the type of all their operands, and implement the
necessary conversions (at least one of the operands is an instance of the
- defined type). This is the recommended way; with Python 3.0 coercion will
+ defined type). This is the recommended way; with Python 3 coercion will
disappear completely.
If the operation is not defined for the given operands, binary and ternary