Add __slots__ to typing._NotIterable (GH-92570)

This commit is contained in:
Alex Waygood 2022-05-10 10:17:54 +01:00 committed by GitHub
parent 4bd07d1dbd
commit eef47d5bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,6 +427,7 @@ class _NotIterable:
is treated specially.
"""
__slots__ = ()
__iter__ = None