[Python-checkins] cpython (3.3): #19319: fix ctypes docs: sizeof is an operator in C, not a function.
ezio.melotti
python-checkins at python.org
Mon Oct 21 03:42:26 CEST 2013
http://hg.python.org/cpython/rev/d8e352e2f110
changeset: 86534:d8e352e2f110
branch: 3.3
parent: 86530:10a261824b62
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Mon Oct 21 04:41:40 2013 +0300
summary:
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
files:
Doc/library/ctypes.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1909,8 +1909,8 @@
.. function:: sizeof(obj_or_type)
- Returns the size in bytes of a ctypes type or instance memory buffer. Does the
- same as the C ``sizeof()`` function.
+ Returns the size in bytes of a ctypes type or instance memory buffer.
+ Does the same as the C ``sizeof`` operator.
.. function:: string_at(address, size=-1)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list