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.

classification
Title: 8 space indent in tutorial
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jcea Nosy List: docs@python, fossilet, jcea, mikehoy, python-dev
Priority: normal Keywords: patch

Created on 2012-10-21 12:13 by fossilet, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue16294.diff mikehoy, 2012-10-21 20:06 review
Messages (4)
msg173443 - (view) Author: Yongzhi Pan (fossilet) * Date: 2012-10-21 12:13
http://docs.python.org/py3k/tutorial/stdlib2.html#weak-references

In the code example, the two class funtions' bodies have indents of 8 spaces. All other indents in the docs are 4 spaces. I suggest here we use 4 spaces also.
msg173476 - (view) Author: Mike Hoy (mikehoy) * Date: 2012-10-21 20:06
Probably no need for a patch (since it's such a simple fix) but I felt like doing something.
msg173502 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2012-10-22 11:10
I take care of this. Thanks for pointing it out.
msg173503 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-10-22 11:16
New changeset 1a3f48c6ef16 by Jesus Cea in branch '2.7':
Closes #16294: 8 space indent in tutorial
http://hg.python.org/cpython/rev/1a3f48c6ef16

New changeset 2015db05d954 by Jesus Cea in branch '3.2':
Closes #16294: 8 space indent in tutorial
http://hg.python.org/cpython/rev/2015db05d954

New changeset 3344c8208662 by Jesus Cea in branch '3.3':
MERGE: Closes #16294: 8 space indent in tutorial
http://hg.python.org/cpython/rev/3344c8208662

New changeset 4ca40082461c by Jesus Cea in branch 'default':
MERGE: Closes #16294: 8 space indent in tutorial
http://hg.python.org/cpython/rev/4ca40082461c
History
Date User Action Args
2022-04-11 14:57:37adminsetgithub: 60498
2012-10-22 11:16:26python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg173503

resolution: fixed
stage: resolved
2012-10-22 11:10:58jceasetversions: + Python 3.4, - Python 3.1
2012-10-22 11:10:37jceasetassignee: docs@python -> jcea

messages: + msg173502
nosy: + jcea
2012-10-21 20:06:28mikehoysetfiles: + issue16294.diff

nosy: + mikehoy
messages: + msg173476

keywords: + patch
2012-10-21 12:13:01fossiletcreate