summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-29 04:15:12 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-12-29 04:15:12 (GMT)
commit2691ee61833f7f460b5f67795b232a9b6f4518d8 (patch)
tree2cd01a7a0eb69c71be77a7506e457fd7ddf9b729 /Doc
parent880fee60caf0da8da57713b9dcdf3eee9767aac7 (diff)
downloadcpython-2691ee61833f7f460b5f67795b232a9b6f4518d8.zip
cpython-2691ee61833f7f460b5f67795b232a9b6f4518d8.tar.gz
cpython-2691ee61833f7f460b5f67795b232a9b6f4518d8.tar.bz2
whatsnew: abc.ABC. Also add issue number to news entry and reword.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.4.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 1f0a1f1..4f408cc 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -481,6 +481,12 @@ New function :func:`abc.get_cache_token` can be used to know when to invalidate
caches that are affected by changes in the object graph. (Contributed
by Ɓukasz Langa in :issue:`16832`.)
+New class :class:`~abc.ABC` has :class:`~abc.ABCMeta` as its meta class.
+Using ``ABC`` as a base class has essentially the same effect as specifying
+``metaclass=abc.ABCMeta``, but is simpler to type and easier to read.
+(Contributed by Bruno Dupuis in :issue:`16049`.)
+
+
aifc
----