this is happening on python 2.6 too. Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class Test(type): ... __doc__= File "<stdin>", line 2 __doc__= ^ SyntaxError: invalid syntax >>> class Test(type): ... __doc__='asasdas' ... >>> >>> Test.__doc__='sadfsdff' Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: attribute '__doc__' of 'type' objects is not writable >>> type(Test) <type 'type'> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120119/e273ad7b/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4