#19319: fix ctypes docs: sizeof is an operator in C, not a function.

This commit is contained in:
Ezio Melotti 2013-10-21 04:41:40 +03:00
parent f076f53386
commit e45975080b

View File

@ -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)