summaryrefslogtreecommitdiffstats
path: root/Lib/abc.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-01 17:52:23 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-01 17:52:23 (GMT)
commit70d2b890deb44c7132bcb9cfaa36a8313281fd2c (patch)
tree01a84e83fcab3b8b585cfbcce00801aaa76a369a /Lib/abc.py
parent46334cdae8a057c3f62a15e343ead7bb3d8ef33d (diff)
downloadcpython-70d2b890deb44c7132bcb9cfaa36a8313281fd2c.zip
cpython-70d2b890deb44c7132bcb9cfaa36a8313281fd2c.tar.gz
cpython-70d2b890deb44c7132bcb9cfaa36a8313281fd2c.tar.bz2
Tests for @abstractproperty by Jeffrey Yasskin.
(The previous changes to abc.py were also by him). Put back a comment about using super() for properties (I didn't realize this worked).
Diffstat (limited to 'Lib/abc.py')
-rw-r--r--Lib/abc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/abc.py b/Lib/abc.py
index ab6325e..07836e6 100644
--- a/Lib/abc.py
+++ b/Lib/abc.py
@@ -30,6 +30,8 @@ class abstractproperty(property):
Requires that the metaclass is ABCMeta or derived from it. A
class that has a metaclass derived from ABCMeta cannot be
instantiated unless all of its abstract properties are overridden.
+ The abstract properties can be called using any of the the normal
+ 'super' call mechanisms.
Usage: