This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jedwards
Recipients docs@python, jedwards
Date 2015-04-11.02:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428718546.88.0.646269142708.issue23912@psf.upfronthosting.co.za>
In-reply-to
Content
There's inconsistent leading whitespace between the two classes in the 4th code snippet of the "Special Method Lookup" section.

https://docs.python.org/3/reference/datamodel.html#special-method-lookup

The (very substantial :) included patch makes both classes use consistent leading whitespace, that is PEP-8 conformant.

(This issue also exists in the Python 2 documentation[1], but since other things have changed -- e.g. print statement -> function, metaclass declaration -- the same patch won't apply cleanly.)

[1] https://docs.python.org/2/reference/datamodel.html#special-method-lookup-for-new-style-classes
History
Date User Action Args
2015-04-11 02:15:46jedwardssetrecipients: + jedwards, docs@python
2015-04-11 02:15:46jedwardssetmessageid: <1428718546.88.0.646269142708.issue23912@psf.upfronthosting.co.za>
2015-04-11 02:15:46jedwardslinkissue23912 messages
2015-04-11 02:15:46jedwardscreate