Re: 2 questions about scope
From: Neal D. Becker (ndbecker2_at_verizon.net)
Date: 10/25/04
- Next message: BRENDA.HARVEY_at_usbank.com: "(no subject)"
- Previous message: Peter Hansen: "Re: GPL and Python modules."
- Maybe in reply to: Gabriel Zachmann: "2 questions about scope"
- Next in thread: Andrew Dalke: "Re: 2 questions about scope"
- Reply: Andrew Dalke: "Re: 2 questions about scope"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: python-list@python.org Date: Mon, 25 Oct 2004 14:57:36 -0400
Josiah Carlson wrote:
>
> Gabriel Zachmann <zach@cs.uni-bonn.de> wrote:
>>
>
>> 2. Why is it that 'while', 'for', etc., don't introduce a new block?
>> (so that variables bound inside those blocks would be local to those
>> blocks only?)
>
Actually, these don't introduce a block in c++ either. The braces do.
- Next message: BRENDA.HARVEY_at_usbank.com: "(no subject)"
- Previous message: Peter Hansen: "Re: GPL and Python modules."
- Maybe in reply to: Gabriel Zachmann: "2 questions about scope"
- Next in thread: Andrew Dalke: "Re: 2 questions about scope"
- Reply: Andrew Dalke: "Re: 2 questions about scope"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]