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: v2.7.6rc1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c62403818c4a216cc73167001057261741045038;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 6be8debaf0..882c50a99f 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -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])