diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-20 08:13:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-20 08:13:52 +0300 |
commit | 8ae8e6af37f29163ee263e293570cb892dc5b5d5 (patch) | |
tree | afffc298429c6e79bdba75bc13616ebf237cfc64 /Doc/reference | |
parent | 63536bd286097e770909052052a21804a5e09b66 (diff) | |
download | cpython-git-8ae8e6af37f29163ee263e293570cb892dc5b5d5.tar.gz |
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index b4a0dbf95e..cc8dc958a8 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1968,7 +1968,7 @@ current call is identified based on the first argument passed to the method. be propagated up to the ``type.__new__`` call in order for the class to be initialised correctly. Failing to do so will result in a :exc:`DeprecationWarning` in Python 3.6, - and a :exc:`RuntimeWarning` in the future. + and a :exc:`RuntimeError` in Python 3.8. When using the default metaclass :class:`type`, or any metaclass that ultimately calls ``type.__new__``, the following additional customisation steps are |