]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add `__slots__` to `typing._NotIterable` (GH-92570)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 May 2022 09:45:17 +0000 (02:45 -0700)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 09:45:17 +0000 (02:45 -0700)
(cherry picked from commit eef47d5bc79469c2d5328d6f5a9732e44a49dd5a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/typing.py

index 46ef2d9cf60056e33dbbba291b782996bb908145..d75203e7e06c327d25b48d64edc0b121740f0858 100644 (file)
@@ -417,6 +417,7 @@ class _NotIterable:
     is treated specially.
     """
 
+    __slots__ = ()
     __iter__ = None