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


Groups > comp.lang.python > #41638

free and nonlocal variables

Newsgroups comp.lang.python
Date 2013-03-21 01:52 -0700
Message-ID <263e910f-4cc5-4b50-bf8d-c207622170b5@googlegroups.com> (permalink)
Subject free and nonlocal variables
From bartolome.sintes@gmail.com

Show all headers | View raw


In Python 3, "free variable" and "nonlocal variable" are synonym terms? Or is there a difference, like "a free variable is a variable that is not a local variable, then nonlocal variables and global variables are both free variables"?

Thanking you in advance,
Bartolomé Sintes

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

free and nonlocal variables bartolome.sintes@gmail.com - 2013-03-21 01:52 -0700
  Re: free and nonlocal variables 88888 Dihedral <dihedral88888@googlemail.com> - 2013-03-21 02:34 -0700
  Re: free and nonlocal variables Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-21 11:00 +0000
  Re: free and nonlocal variables Terry Reedy <tjreedy@udel.edu> - 2013-03-21 07:55 -0400
  Re: free and nonlocal variables Nobody <nobody@nowhere.com> - 2013-03-21 19:05 +0000
    Re: free and nonlocal variables Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-03-21 22:36 +0200

csiph-web