summaryrefslogtreecommitdiff
path: root/Lib/abc.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-01 17:52:23 +0000
committerGuido van Rossum <guido@python.org>2007-08-01 17:52:23 +0000
commit96a6db603430a8a8b0c997426afbdb8c4334e86f (patch)
tree48b820e6d2d980a192f09daaee253e000c117f0f /Lib/abc.py
parent8914904f7e7a02598326ceaf2d9201c9d825b657 (diff)
downloadcpython-96a6db603430a8a8b0c997426afbdb8c4334e86f.tar.gz
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 ab6325e713..07836e631b 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: