diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-10-21 01:41:40 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-10-21 01:41:40 (GMT) |
commit | e45975080bc4e63647da10dfc1157f2868211035 (patch) | |
tree | c93babba90c3c912fdde0731df160626050c2a10 | |
parent | f076f53386c422060517b8f088eadff3a80e48e6 (diff) | |
download | cpython-e45975080bc4e63647da10dfc1157f2868211035.zip cpython-e45975080bc4e63647da10dfc1157f2868211035.tar.gz cpython-e45975080bc4e63647da10dfc1157f2868211035.tar.bz2 |
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
-rw-r--r-- | Doc/library/ctypes.rst | 4 |
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) |