Message130225
* Insert spaces around operators and after commas.
* Split one liner blocks (ex. def foo(x, y): return x + y) to
multi-line blocks.
* Insert empty line after def block for scripts (not interactive mode).
* Use new-style raise (s/ralse KeyboardInterrupt/raise KeyboardInterrupt()/)
* Use x ** 3 instead of x * x * x.
Attached patch is for Python 2.6.
I'll make same changes for Python 3.1 if this patch is accepted. |
|
Date |
User |
Action |
Args |
2011-03-07 05:44:54 | methane | set | recipients:
+ methane, docs@python |
2011-03-07 05:44:53 | methane | set | messageid: <1299476693.61.0.829631562481.issue11425@psf.upfronthosting.co.za> |
2011-03-07 05:44:52 | methane | link | issue11425 messages |
2011-03-07 05:44:52 | methane | create | |
|