Skip to content

Commit e459750

Browse files
committed
#19319: fix ctypes docs: sizeof is an operator in C, not a function.
1 parent f076f53 commit e459750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,8 +1909,8 @@ Utility functions
19091909

19101910
.. function:: sizeof(obj_or_type)
19111911

1912-
Returns the size in bytes of a ctypes type or instance memory buffer. Does the
1913-
same as the C ``sizeof()`` function.
1912+
Returns the size in bytes of a ctypes type or instance memory buffer.
1913+
Does the same as the C ``sizeof`` operator.
19141914

19151915

19161916
.. function:: string_at(address, size=-1)

0 commit comments

Comments
 (0)