mirror of https://github.com/python/cpython
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
This commit is contained in:
parent
f076f53386
commit
e45975080b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue