From ac1e0be11fb1e2ab62e44b843a23a960194120d7 Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Mon, 9 May 2022 20:29:18 +0100 Subject: [PATCH] Add `__slots__` to `typing._NotIterable` --- Lib/typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/typing.py b/Lib/typing.py index 9fa4c48b45e85a..306bb9fb6df784 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -427,6 +427,7 @@ def __iter__(self): raise TypeError() is treated specially. """ + __slots__ = () __iter__ = None