Message344801
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 | methane |
|---|---|
| Recipients | gregory.p.smith, mbussonn, methane, pablogsal, remi.lapeyre |
| Date | 2019-06-06.11:34:15 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1559820855.23.0.00632712682367.issue37102@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
How about do `inspect.cleandoc()` instead of just a dedent?
Some method has docstring like this:
"""First line
blah blah blah blah
example code here
...
"""
In such docstring, dedent can not strip indent well.
There is existing attempt (in Japanese):
https://qiita.com/hhatto/items/3da6c6820817395f2c39#%E6%84%9A%E7%9B%B4%E3%81%AB%E5%AE%9F%E8%A3%85%E3%81%97%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-06-06 11:34:15 | methane | set | recipients: + methane, gregory.p.smith, mbussonn, pablogsal, remi.lapeyre |
| 2019-06-06 11:34:15 | methane | set | messageid: <1559820855.23.0.00632712682367.issue37102@roundup.psfhosted.org> |
| 2019-06-06 11:34:15 | methane | link | issue37102 messages |
| 2019-06-06 11:34:15 | methane | create | |