[Python-Dev] properties on modules? (original) (raw)
Barry A. Warsaw barry@python.org
Mon, 13 Jan 2003 13:56:01 -0500
- Previous message: [Python-Dev] properties on modules?
- Next message: [Python-Dev] properties on modules?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: [Python-Dev] properties on modules?
- Next message: [Python-Dev] properties on modules?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]