Issue 23912: Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup (original) (raw)
Issue23912
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/68100
classification
Title: | Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup | ||
---|---|---|---|
Type: | Stage: | resolved | |
Components: | Documentation | Versions: | Python 3.4, Python 3.5 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | docs@python | Nosy List: | berker.peksag, docs@python, jedwards, python-dev |
Priority: | normal | Keywords: | patch |
Created on 2015-04-11 02:15 by jedwards, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
datamodel.rst.diff | jedwards,2015-04-11 02:15 | Proposed doc patch | review |
Messages (3) | ||
---|---|---|
msg240458 - (view) | Author: James Edwards (jedwards) * | Date: 2015-04-11 02:15 |
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 | ||
msg240473 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2015-04-11 11:59 |
New changeset 714b7b684610 by Berker Peksag in branch '3.4': Issue #23912: Fix code formatting in datamodel.rst. https://hg.python.org/cpython/rev/714b7b684610 New changeset 5cd072882051 by Berker Peksag in branch 'default': Issue #23912: Fix code formatting in datamodel.rst. https://hg.python.org/cpython/rev/5cd072882051 | ||
msg240474 - (view) | Author: Berker Peksag (berker.peksag) * ![]() |
Date: 2015-04-11 12:00 |
Fixed. Thanks for the patch, James. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:15 | admin | set | github: 68100 |
2015-04-11 12:00:21 | berker.peksag | set | status: open -> closedversions: + Python 3.4, Python 3.5, - Python 3.6nosy: + berker.peksagmessages: + resolution: fixedstage: resolved |
2015-04-11 11:59:23 | python-dev | set | nosy: + python-devmessages: + |
2015-04-11 02:15:46 | jedwards | create |