summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-05-20 05:13:52 (GMT)
committerGitHub <noreply@github.com>2018-05-20 05:13:52 (GMT)
commit8ae8e6af37f29163ee263e293570cb892dc5b5d5 (patch)
treeafffc298429c6e79bdba75bc13616ebf237cfc64 /Doc/whatsnew
parent63536bd286097e770909052052a21804a5e09b66 (diff)
downloadcpython-8ae8e6af37f29163ee263e293570cb892dc5b5d5.zip
cpython-8ae8e6af37f29163ee263e293570cb892dc5b5d5.tar.gz
cpython-8ae8e6af37f29163ee263e293570cb892dc5b5d5.tar.bz2
bpo-23722: Fix docs for future __classcell__ changes. (GH-6999)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.6.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index f7fe70f..c4b6395 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -2261,7 +2261,8 @@ Changes in the Python API
direct references from methods to the implicit ``__class__`` closure
variable, the implicit ``__classcell__`` namespace entry must now be passed
up to ``type.__new__`` for initialisation. Failing to do so will result in
- a :exc:`DeprecationWarning` in 3.6 and a :exc:`RuntimeWarning` in the future.
+ a :exc:`DeprecationWarning` in Python 3.6 and a :exc:`RuntimeError` in
+ Python 3.8.
Changes in the C API
--------------------