[Python-Dev] nonlocal x = value (original) (raw)
Mark Dickinson dickinsm at gmail.com
Mon Dec 27 11:31:54 CET 2010
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Dec 27, 2010 at 9:43 AM, Raymond Hettinger <raymond.hettinger at gmail.com> wrote:
FWIW, I'm entirely opposed to doing an assignment in a nonlocal definition. [...]
-1 for assignment in nonlocal and global statements from me, too.
Mark
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]