[Python-Dev] properties on modules? (original) (raw)

Barry A. Warsaw barry@python.org
Mon, 13 Jan 2003 13:56:01 -0500


"GvR" == Guido van Rossum <guido@python.org> writes:

GvR> The idea is not clear to me at all.  Why can't you say

GvR> now = lambda: time.time()

I'm not sure, but I'd guess that Neil wants to do something like:

print now

instead of

print now()

to get the current time. -Barry