Message143679
Given this as input:
#!/usr/bin/python
def x():
s = """line one
line two
line three"""
return s
reindent.py changes it to:
#!/usr/bin/python
def x():
s = """line one
line two
line three"""
return s
Which means that I cannot use reindent.py on any source that includes multiline literals that are not docs.
Btw, it is generally weird that reindented file ends up with 2 spaces before "line two". |
|
Date |
User |
Action |
Args |
2011-09-07 14:29:37 | Dima.Tisnek | set | recipients:
+ Dima.Tisnek |
2011-09-07 14:29:37 | Dima.Tisnek | set | messageid: <1315405777.71.0.767109553281.issue12930@psf.upfronthosting.co.za> |
2011-09-07 14:29:37 | Dima.Tisnek | link | issue12930 messages |
2011-09-07 14:29:36 | Dima.Tisnek | create | |
|