diff options
author | Georg Brandl <georg@python.org> | 2008-02-22 12:31:45 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-22 12:31:45 (GMT) |
commit | 907a720f894a7b267e15b3bb1ba39f2d8677c0fe (patch) | |
tree | 35117e67e538ba92d38b987683440fee89ad93cc /Doc/c-api | |
parent | a14a4e8b84093184fefc908b241523915893850d (diff) | |
download | cpython-907a720f894a7b267e15b3bb1ba39f2d8677c0fe.zip cpython-907a720f894a7b267e15b3bb1ba39f2d8677c0fe.tar.gz cpython-907a720f894a7b267e15b3bb1ba39f2d8677c0fe.tar.bz2 |
A lot more typo fixes by Ori Avtalion.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/long.rst | 2 | ||||
-rw-r--r-- | Doc/c-api/objbuffer.rst | 2 | ||||
-rw-r--r-- | Doc/c-api/typeobj.rst | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index 6a4ede7..49a5e6f 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -174,6 +174,6 @@ Long Integer Objects .. versionadded:: 1.5.2 .. versionchanged:: 2.5 - For values outside 0..LONG_MAX, both signed and unsigned integers are acccepted. + For values outside 0..LONG_MAX, both signed and unsigned integers are accepted. diff --git a/Doc/c-api/objbuffer.rst b/Doc/c-api/objbuffer.rst index e2e3145..7d66db2 100644 --- a/Doc/c-api/objbuffer.rst +++ b/Doc/c-api/objbuffer.rst @@ -8,7 +8,7 @@ Buffer Protocol .. cfunction:: int PyObject_AsCharBuffer(PyObject *obj, const char **buffer, Py_ssize_t *buffer_len) - Returns a pointer to a read-only memory location useable as character- based + Returns a pointer to a read-only memory location usable as character-based input. The *obj* argument must support the single-segment character buffer interface. On success, returns ``0``, sets *buffer* to the memory location and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:`TypeError` diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 87c8b86..e89ecf7 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -573,7 +573,7 @@ The following three fields only exist if the The :attr:`tp_traverse` pointer is used by the garbage collector to detect reference cycles. A typical implementation of a :attr:`tp_traverse` function simply calls :cfunc:`Py_VISIT` on each of the instance's members that are Python - objects. For exampe, this is function :cfunc:`local_traverse` from the + objects. For example, this is function :cfunc:`local_traverse` from the :mod:`thread` extension module:: static int @@ -1160,7 +1160,7 @@ Number Object Structures binaryfunc nb_and; binaryfunc nb_xor; binaryfunc nb_or; - coercion nb_coerce; /* Used by the coerce() funtion */ + coercion nb_coerce; /* Used by the coerce() function */ unaryfunc nb_int; unaryfunc nb_long; unaryfunc nb_float; |