From: Alex Waygood Date: Tue, 10 May 2022 09:17:54 +0000 (+0100) Subject: Add `__slots__` to `typing._NotIterable` (GH-92570) X-Git-Tag: v3.12.0a1~1602 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eef47d5bc79469c2d5328d6f5a9732e44a49dd5a;p=thirdparty%2FPython%2Fcpython.git Add `__slots__` to `typing._NotIterable` (GH-92570) --- diff --git a/Lib/typing.py b/Lib/typing.py index 9fa4c48b45e8..306bb9fb6df7 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -427,6 +427,7 @@ class _NotIterable: is treated specially. """ + __slots__ = () __iter__ = None