Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51721 > unrolled thread
| Started by | IshIsh <ishish@domhain.de> |
|---|---|
| First post | 2013-07-31 14:13 +0100 |
| Last post | 2013-07-31 14:13 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Re: Script that converts between indentation and curly braces in Python code IshIsh <ishish@domhain.de> - 2013-07-31 14:13 +0100
| From | IshIsh <ishish@domhain.de> |
|---|---|
| Date | 2013-07-31 14:13 +0100 |
| Subject | Re: Script that converts between indentation and curly braces in Python code |
| Message-ID | <mailman.68.1375341584.1251.python-list@python.org> |
from __future__ import braces is just an easter egg... ...and shouldn't it better state from __past__ import braces ;-) Anyway, as far as I know the IPython interpreter can recognize lines ending in ‘:’ and indent the next line, while also un-indenting automatically after ‘raise’ or ‘return’. => sas
Back to top | Article view | comp.lang.python
csiph-web