[Python-Dev] properties on modules?

Barry A. Warsaw barry@python.org
2003年1月13日 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

AltStyle によって変換されたページ (->オリジナル) /