mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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)
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue