mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
This commit is contained in:
parent
f076f53386
commit
e45975080b
1 changed files with 2 additions and 2 deletions
|
|
@ -1909,8 +1909,8 @@ Utility functions
|
||||||
|
|
||||||
.. function:: sizeof(obj_or_type)
|
.. function:: sizeof(obj_or_type)
|
||||||
|
|
||||||
Returns the size in bytes of a ctypes type or instance memory buffer. Does the
|
Returns the size in bytes of a ctypes type or instance memory buffer.
|
||||||
same as the C ``sizeof()`` function.
|
Does the same as the C ``sizeof`` operator.
|
||||||
|
|
||||||
|
|
||||||
.. function:: string_at(address, size=-1)
|
.. function:: string_at(address, size=-1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue