[Python-Dev] properties on modules? (original) (raw)
Neil Schemenauer nas@python.ca
Mon, 13 Jan 2003 09:34:20 -0800
- Previous message: [Python-Dev] _Py_QnewFlag
- Next message: [Python-Dev] properties on modules?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
It would be really cool if this worked:
import time now = property(lambda m: time.time())
Obviously a silly example but I hope the idea is clear. Is there a reason this couldn't be made to work?
Neil
- Previous message: [Python-Dev] _Py_QnewFlag
- Next message: [Python-Dev] properties on modules?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]