Hello,

please let me focus your attention to a little slip that was made while
typing a code example in the Python 3.0 documentation. Please visit
this<http://docs.python.org/dev/3.0/library/functions.html?highlight=property#property>link
and note the 3rd code example which starts like this:

class C(object):
    def __init__(self): self._x = None


This is probably a slip, because it should better be like this:

class C(object):
    def __init__(self):
        self._x = None


And since this is the only method with such coding style used, it's probably
a slip. Please fix this if you have the time to do so. After all, it's not a
very time-consuming thing to do. Thanks.
_______________________________________________
Doc-SIG maillist  -  Doc-SIG@python.org
http://mail.python.org/mailman/listinfo/doc-sig

Reply via email to