[Python-Dev] readonly __doc__
Antoine Pitrou
solipsis at pitrou.net
Thu Oct 22 18:45:00 CEST 2009
More information about the Python-Dev mailing list
Thu Oct 22 18:45:00 CEST 2009
- Previous message: [Python-Dev] Bug 7183 and Python 2.6.4
- Next message: [Python-Dev] readonly __doc__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Speaking of the __doc__ property, I just noticed the following thing on py3k: >>> class C: pass ... >>> C.__doc__ = "hop" Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: attribute '__doc__' of 'type' objects is not writable Is this deliberate? Antoine.
- Previous message: [Python-Dev] Bug 7183 and Python 2.6.4
- Next message: [Python-Dev] readonly __doc__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list