]> granicus.if.org Git - python/commitdiff
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 21 Oct 2013 01:41:40 +0000 (04:41 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 21 Oct 2013 01:41:40 +0000 (04:41 +0300)
Doc/library/ctypes.rst

index 6be8debaf02c0c67930819162da1fdaaa5470fdf..882c50a99f1360a99a14a5372ff1c108ea9a34d1 100644 (file)
@@ -2006,8 +2006,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])