summaryrefslogtreecommitdiff
path: root/Doc/reference
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-05-19 22:49:13 -0700
committerSerhiy Storchaka <storchaka@gmail.com>2018-05-20 08:49:13 +0300
commitf0af69faee902d4b80c07c100dbd528fd8df6832 (patch)
tree4ad7713ae3da9874710cc701dda91840061d8675 /Doc/reference
parent15f3d0cc7660ee62c7a1c0420afaee18c26a2a1f (diff)
downloadcpython-git-f0af69faee902d4b80c07c100dbd528fd8df6832.tar.gz
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999) (GH-7000)
(cherry picked from commit 8ae8e6af37f29163ee263e293570cb892dc5b5d5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
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