[New-bugs-announce] [issue23912] Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup

James Edwards report at bugs.python.org
Sat Apr 11 04:15:46 CEST 2015


New submission from James Edwards:

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

----------
assignee: docs at python
components: Documentation
files: datamodel.rst.diff
keywords: patch
messages: 240458
nosy: docs at python, jedwards
priority: normal
severity: normal
status: open
title: Inconsistent whitespace/formatting in docs/reference/datamodel/Special Method Lookup
versions: Python 3.6
Added file: http://bugs.python.org/file38894/datamodel.rst.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23912>
_______________________________________


More information about the New-bugs-announce mailing list