Skip to content

Commit 60202b0

Browse files
authored
Update namedtuples.rst
Fix a code block that wasn't being rendered properly
1 parent a9173dc commit 60202b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spec/namedtuples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Type checkers should support the class syntax::
2121
units: str = "meters"
2222

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

2626
class MyTuple(NamedTuple):
2727
x1 = 1 # Not a field

0 commit comments

Comments
 (0)