New submission from Retro <[email protected]>:
http://docs.python.org/3.0/tutorial/controlflow.html#defining-functions
Please visit the above link and see line 6 in the example code.
... a, b = b, a+b
should be fixed to
... a, b = b, a + b
because PEP 8 recommends to
- Use spaces around arithmetic operators:
Yes:
i = i + 1
No:
i=i+1
----------
assignee: georg.brandl
components: Documentation
messages: 77705
nosy: Retro, georg.brandl, loewis, rhettinger
severity: normal
status: open
title: Fix a+b to a + b
versions: Python 2.5, Python 2.5.3, Python 2.6, Python 2.7, Python 3.0, Python
3.1
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com