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
2 changes: 1 addition & 1 deletion docs/spec/namedtuples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Type checkers should support the class syntax::
units: str = "meters"

Fields must be annotated attributes - methods and un-annotated attributes are not
considered fields. Field names may not start with an underscore.
considered fields. Field names may not start with an underscore::

class MyTuple(NamedTuple):
x1 = 1 # Not a field
Expand Down