* Carl Banks:
On Jan 20, 11:43 pm, Martin Drautzburg <martin.drautzb...@web.de>
[snip]
What I am really looking for is a way
- to be able to call move(up)
- having the "up" symbol only in the context of the function call
Short answer is, you can't do it.
On the contrary, it's not difficult to do.
I provided an example in my answer to the OP (first reply in the thread).
However, it's IMHO an abuse of the language, not something that one should do.
Cheers & hth.,
- Alf
--
http://mail.python.org/mailman/listinfo/python-list