Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3675,6 +3675,12 @@ fields, or any other data types containing pointer type fields.

point = Point(1, 2)

.. note::

Calling :func:`super` without arguments in methods of the decorated
class raises a :exc:`TypeError`. Use the two-argument form instead, for example
``super(Point, self).__init__(x, y)``.

*align*, *layout*, and *pack* supply the value for the :attr:`~ctypes.Structure._align_`,
:attr:`~ctypes.Structure._layout_`, and :attr:`~ctypes.Structure._pack_`
attributes, respectively.
Expand Down
Loading