From 8a2b3edcdc4e071a1c79464dcc6c40c3aee26140 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 May 2022 02:45:17 -0700 Subject: Add `__slots__` to `typing._NotIterable` (GH-92570) (cherry picked from commit eef47d5bc79469c2d5328d6f5a9732e44a49dd5a) Co-authored-by: Alex Waygood --- Lib/typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/typing.py b/Lib/typing.py index 46ef2d9..d75203e 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -417,6 +417,7 @@ class _NotIterable: is treated specially. """ + __slots__ = () __iter__ = None -- cgit v0.12