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.

Author Dima.Tisnek
Recipients Dima.Tisnek
Date 2011-09-07.14:29:36
SpamBayes Score 0.003146217
Marked as misclassified No
Message-id <1315405777.71.0.767109553281.issue12930@psf.upfronthosting.co.za>
In-reply-to
Content
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".
History
Date User Action Args
2011-09-07 14:29:37Dima.Tisneksetrecipients: + Dima.Tisnek
2011-09-07 14:29:37Dima.Tisneksetmessageid: <1315405777.71.0.767109553281.issue12930@psf.upfronthosting.co.za>
2011-09-07 14:29:37Dima.Tisneklinkissue12930 messages
2011-09-07 14:29:36Dima.Tisnekcreate