summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-10-21 01:41:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-10-21 01:41:40 (GMT)
commite45975080bc4e63647da10dfc1157f2868211035 (patch)
treec93babba90c3c912fdde0731df160626050c2a10 /Doc
parentf076f53386c422060517b8f088eadff3a80e48e6 (diff)
downloadcpython-e45975080bc4e63647da10dfc1157f2868211035.zip
cpython-e45975080bc4e63647da10dfc1157f2868211035.tar.gz
cpython-e45975080bc4e63647da10dfc1157f2868211035.tar.bz2
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index a6c918d..a9dce61 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1909,8 +1909,8 @@ Utility functions
.. 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)