From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 May 2022 09:45:17 +0000 (-0700) Subject: Add `__slots__` to `typing._NotIterable` (GH-92570) X-Git-Tag: v3.11.0b2~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a2b3edcdc4e071a1c79464dcc6c40c3aee26140;p=thirdparty%2FPython%2Fcpython.git Add `__slots__` to `typing._NotIterable` (GH-92570) (cherry picked from commit eef47d5bc79469c2d5328d6f5a9732e44a49dd5a) Co-authored-by: Alex Waygood --- diff --git a/Lib/typing.py b/Lib/typing.py index 46ef2d9cf600..d75203e7e06c 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -417,6 +417,7 @@ class _NotIterable: is treated specially. """ + __slots__ = () __iter__ = None