We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba587ed commit dab9fb3Copy full SHA for dab9fb3
Doc/c-api/tuple.rst
@@ -148,8 +148,11 @@ Tuple Objects
148
Struct Sequence Objects
149
-----------------------
150
151
-Struct sequence objects are the C equivalent of :func:`~collections.namedtuple`
152
-objects, i.e. a sequence whose items can also be accessed through attributes.
+A struct sequence object is a :term:`named tuple`, that is, a sequence
+whose items can also be accessed through attributes.
153
+It is similar to :func:`collections.namedtuple`, but provides a slightly
154
+different interface.
155
+
156
To create a struct sequence, you first have to create a specific struct sequence
157
type.
158
0 commit comments