Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51721 > unrolled thread

Re: Script that converts between indentation and curly braces in Python code

Started byIshIsh <ishish@domhain.de>
First post2013-07-31 14:13 +0100
Last post2013-07-31 14:13 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Re: Script that converts between indentation and curly braces in Python code IshIsh <ishish@domhain.de> - 2013-07-31 14:13 +0100

#51721 — Re: Script that converts between indentation and curly braces in Python code

FromIshIsh <ishish@domhain.de>
Date2013-07-31 14:13 +0100
SubjectRe: 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web