[Python-ideas] 'where' statement in Python?

Chris Rebert pyideas at rebertia.com
Wed Jul 21 00:30:43 CEST 2010

On Tue, Jul 20, 2010 at 3:13 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> For the record, I've updated the PEP* based on the discussion in this
> thread (I switched to "given" as the draft keyword due to the
> Haskell/SQL semantic confusion for the "where" keyword - we've had
> that discussion before, I just forgot about it last night when putting
> the PEP together)
> *Diff here: http://svn.python.org/view/peps/trunk/pep-3150.txt?r1=82992&r2=83002

Could the example code snippets please be made PEP 8 compliant (in
particular, use 4-space indents)?
They currently wobble between 2, 3, and 4-space indents, and the
readability of Alex Light's example in particular is diminished by the
use of only 2-space indents.


More information about the Python-ideas mailing list