[New-bugs-announce] [issue13416] Python Tutorial, Section 3, Minor PEP 8 adjustment
Nebelhom
report at bugs.python.org
Wed Nov 16 23:48:13 CET 2011
New submission from Nebelhom <nebelhom at googlemail.com>:
Python Tutorial 3.3a
3. An informal introduction to python
example:
-------------------------------------------------------------
# this is the first comment
SPAM = 1 # and this is the second comment
# ... and now a third!
STRING = "# This is not a comment."
-------------------------------------------------------------
Comment: It is probably best to use PEP 8 straight from the start.
Therefore variable names should be all lowercase with connecting underscores (if necessary)
i.e. spam = 1 and string = "#This is not a comment." instead of all uppercase.
----------
assignee: docs at python
components: Documentation
messages: 147777
nosy: Nebelhom, docs at python, ncoghlan
priority: normal
severity: normal
status: open
title: Python Tutorial, Section 3, Minor PEP 8 adjustment
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13416>
_______________________________________
More information about the New-bugs-announce
mailing list