mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
Add __slots__ to typing._NotIterable (GH-92570)
(cherry picked from commit eef47d5bc7)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
e4fc347356
commit
8a2b3edcdc
1 changed files with 1 additions and 0 deletions
|
|
@ -417,6 +417,7 @@ def __iter__(self): raise TypeError()
|
|||
is treated specially.
|
||||
"""
|
||||
|
||||
__slots__ = ()
|
||||
__iter__ = None
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue