[docs] [issue11064] abc documentation version conflict

Dustin Farris report at bugs.python.org
Sat Jan 29 19:14:08 CET 2011


Dustin Farris <dustin.farris at gmail.com> added the comment:

This is what I get:


Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import abc
>>> help(abc)

NAME
    abc - Abstract Base Classes (ABCs) according to PEP 3119.

FILE
    /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py


.....


|  Usage:
     |  
     |      class C(metaclass=ABCMeta):
     |          @abstractproperty
     |          def my_abstract_property(self):
     |              ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11064>
_______________________________________


More information about the docs mailing list