[Python-Dev] replacing 'global'
Alex Martelli
aleaxit at yahoo.com
Sun Oct 26 11:24:56 EST 2003
More information about the Python-Dev mailing list
Sun Oct 26 11:24:56 EST 2003
- Previous message: [Python-Dev] replacing 'global'
- Next message: [Python-Dev] replacing 'global'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sunday 26 October 2003 05:19 pm, Skip Montanaro wrote: > Just> - Would := be allowed in statements like "self.a := 2"? It makes > Just> no sense, but since "(a, b) := (2, 3)" IS meaningful, what > about Just> "(a, b, self.c) = (1, 2, 3)"? > > Ummm... This doesn't seem to be strengthening your argument. ;-) Indeed, I think the argument is stronger -- and := is more useful -- if a, b := 2, 3 and self.a := 2 and all such non-elementary variations of assignment are NOT allowed with := . Alex
- Previous message: [Python-Dev] replacing 'global'
- Next message: [Python-Dev] replacing 'global'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list