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.

Title: Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup
Type: Stage: resolved
Components: Documentation Versions: Python 3.4, Python 3.5
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.

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.

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.)

msg240473 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-04-11 11:59
New changeset 714b7b684610 by Berker Peksag in branch '3.4':
Issue #23912: Fix code formatting in datamodel.rst.

New changeset 5cd072882051 by Berker Peksag in branch 'default':
Issue #23912: Fix code formatting in datamodel.rst.
msg240474 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2015-04-11 12:00
Fixed. Thanks for the patch, James.
Date User Action Args
2022-04-11 14:58:15adminsetgithub: 68100
2015-04-11 12:00:21berker.peksagsetstatus: open -> closed

versions: + Python 3.4, Python 3.5, - Python 3.6
nosy: + berker.peksag

messages: + msg240474
resolution: fixed
stage: resolved
2015-04-11 11:59:23python-devsetnosy: + python-dev
messages: + msg240473
2015-04-11 02:15:46jedwardscreate