mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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 @@ class _NotIterable:
|
|||
is treated specially.
|
||||
"""
|
||||
|
||||
__slots__ = ()
|
||||
__iter__ = None
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue