[Python-checkins] cpython (2.7): #19319: fix ctypes docs: sizeof is an operator in C, not a function.

ezio.melotti python-checkins at python.org
Mon Oct 21 03:42:25 CEST 2013


http://hg.python.org/cpython/rev/737b79e524aa
changeset:   86533:737b79e524aa
branch:      2.7
parent:      86529:04a163f93ad4
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Mon Oct 21 04:41:40 2013 +0300
summary:
  #19319: fix ctypes docs: sizeof is an operator in C, not a function.

files:
  Doc/library/ctypes.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -2006,8 +2006,8 @@
 
 .. 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])

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list