Skip to content

Commit eef47d5

Browse files
authored
Add __slots__ to typing._NotIterable (GH-92570)
1 parent 4bd07d1 commit eef47d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/typing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ def __iter__(self): raise TypeError()
427427
is treated specially.
428428
"""
429429

430+
__slots__ = ()
430431
__iter__ = None
431432

432433

0 commit comments

Comments
 (0)