commit | 70c5f2ae6e6a07d44a8d3f3202ea01bf697e05db | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Jun 01 11:38:24 2019 +0300 |
committer | GitHub <noreply@github.com> | Sat Jun 01 11:38:24 2019 +0300 |
tree | 006049ed0835e9e68cd46cf7717027a0fe422436 | |
parent | 2085bd0877e17ad4d98a4586d5eabb6faecbb190 [diff] [blame] |
Use more PEP 570 syntax in the documentation. (GH-13720)
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 8b4d889..c566dfd 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst
@@ -1809,7 +1809,7 @@ 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