Message144321
| Author | Dima.Tisnek |
|---|---|
| Recipients | Caio.Romao, Dima.Tisnek, eric.araujo |
| Date | 2011-09-20.07:51:04 |
| SpamBayes Score | 0.0024859726 |
| Marked as misclassified | No |
| Message-id | <1316505065.65.0.0761861738195.issue12930@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Thanks Caio, your test case covers my issue; seeing these spelt out got me thinking, there are perhaps 3~4 different cases:
def f0():
s = """select
some sql
from
somewhere;
-- cannot be reindented"""
def f1():
""" Multiline
text docstring
should be reindented """
def f2():
""" should example be reindented inside docstring?
if f2():
print "great"
"""
def f3():
""" # should doctest be reindented inside docstring?
>>> if f3():
... print "yes"
... else:
... print "no"
...
no
""" |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-09-20 07:51:05 | Dima.Tisnek | set | recipients: + Dima.Tisnek, eric.araujo, Caio.Romao |
| 2011-09-20 07:51:05 | Dima.Tisnek | set | messageid: <1316505065.65.0.0761861738195.issue12930@psf.upfronthosting.co.za> |
| 2011-09-20 07:51:05 | Dima.Tisnek | link | issue12930 messages |
| 2011-09-20 07:51:04 | Dima.Tisnek | create | |