A minor slip while typing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

A minor slip while typing

John Doe-49
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 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  -  [hidden email]
http://mail.python.org/mailman/listinfo/doc-sig