From eef47d5bc79469c2d5328d6f5a9732e44a49dd5a Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 10 May 2022 10:17:54 +0100 Subject: Add `__slots__` to `typing._NotIterable` (GH-92570) --- Lib/typing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/typing.py b/Lib/typing.py index 9fa4c48..306bb9f 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -427,6 +427,7 @@ class _NotIterable: is treated specially. """ + __slots__ = () __iter__ = None -- cgit v0.12