]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add `__slots__` to `typing._NotIterable` (GH-92570)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Tue, 10 May 2022 09:17:54 +0000 (10:17 +0100)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 09:17:54 +0000 (12:17 +0300)
Lib/typing.py

index 9fa4c48b45e85a08d9ccb856a239867c944a61e5..306bb9fb6df7841608b89d5fe59b9f1fe82a061a 100644 (file)
@@ -427,6 +427,7 @@ class _NotIterable:
     is treated specially.
     """
 
+    __slots__ = ()
     __iter__ = None