Use more PEP 570 syntax in the documentation. (GH-13720)

This commit is contained in:
Serhiy Storchaka 2019-06-01 11:38:24 +03:00 committed by GitHub
parent 2085bd0877
commit 70c5f2ae6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View file

@ -1809,7 +1809,7 @@ class defining the method.
class, as in::
class Philosopher:
def __init_subclass__(cls, default_name, **kwargs):
def __init_subclass__(cls, /, default_name, **kwargs):
super().__init_subclass__(**kwargs)
cls.default_name = default_name