From e45975080bc4e63647da10dfc1157f2868211035 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 21 Oct 2013 04:41:40 +0300 Subject: #19319: fix ctypes docs: sizeof is an operator in C, not a function. --- Doc/library/ctypes.rst | 4 ++-- 1 file 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) -- cgit v0.12