I haven't followed the complete discussion about once, but I would assume it
would be used as such:
once <name> = <expression>
that is, always an assignment, with the value stored as a cellvar, perhaps,
on first execution 0f the code.
Typically I would use it as:
def function(a):
once pathjoin = os.path.join
<etc>
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com