Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info>:

> Some people prefer to say "Python has no variables, it has name
> bindings". I think that it's better to say that Python's variables are
> not *like* C or Pascal variables, rather than invent a distinction
> between name bindings and variables. Name bindings are a type of
> variable.

I guess the thinking goes like this:

  In Python, everything is a first-class object.

  In Python, variables are not first-class objects.

  Ergo: In Python, there are no variables.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to