Property as a decorator in Python 2.4? -


i'm developing application tied down python 2.4. according python builtins page's description of property "the getter, setter, , deleter attributes added" in python 2.6. there still way use property decorator, or imperative use x = property(...) syntax?

you can use decorator, can only specify getter if so. can delete getter, setter, , deleter methods once have called property() though.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -