diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2019-06-01 11:00:15 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-01 11:00:15 +0300 |
| commit | 2085bd0877e17ad4d98a4586d5eabb6faecbb190 (patch) | |
| tree | c25b20d33ebf4d64a28abb8591f4ff7acf90614c /Lib/typing.py | |
| parent | 4a686504eb2bbf69adf78077458508a7ba131667 (diff) | |
| download | cpython-git-2085bd0877e17ad4d98a4586d5eabb6faecbb190.tar.gz | |
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
Diffstat (limited to 'Lib/typing.py')
| -rw-r--r-- | Lib/typing.py | 2 |
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") |
