summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2022-05-10 09:17:54 (GMT)
committerGitHub <noreply@github.com>2022-05-10 09:17:54 (GMT)
commiteef47d5bc79469c2d5328d6f5a9732e44a49dd5a (patch)
treeb4fc6d98d7d9d6d65e48bccd52f5fc12f830b425 /Lib/typing.py
parent4bd07d1dbd493fc9b2c2a77e9e905c517682052e (diff)
downloadcpython-eef47d5bc79469c2d5328d6f5a9732e44a49dd5a.zip
cpython-eef47d5bc79469c2d5328d6f5a9732e44a49dd5a.tar.gz
cpython-eef47d5bc79469c2d5328d6f5a9732e44a49dd5a.tar.bz2
Add `__slots__` to `typing._NotIterable` (GH-92570)
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py1
1 files changed, 1 insertions, 0 deletions
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