summaryrefslogtreecommitdiff
path: root/Lib/typing.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index 16ccfad049..5f1a0ad3d6 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -283,7 +283,7 @@ class _Final:
__slots__ = ('__weakref__',)
- def __init_subclass__(self, *args, **kwds):
+ def __init_subclass__(self, /, *args, **kwds):
if '_root' not in kwds:
raise TypeError("Cannot subclass special typing classes")