Created
January 18, 2012 19:46
-
-
Save smarnach/1635125 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Python 2.7.2+ (default, Jun 29 2011, 00:07:42) | |
[GCC 4.6.1 20110616 (prerelease)] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> class A(object): | |
... pass | |
... | |
>>> A.__doc__ = "doc" | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
AttributeError: attribute '__doc__' of 'type' objects is not writable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment