From: Ezio Melotti Date: Mon, 21 Oct 2013 01:41:40 +0000 (+0300) Subject: #19319: fix ctypes docs: sizeof is an operator in C, not a function. X-Git-Tag: v3.3.3rc1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e45975080bc4e63647da10dfc1157f2868211035;p=python #19319: fix ctypes docs: sizeof is an operator in C, not a function. --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index a6c918deb4..a9dce61639 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)