flox <[email protected]> added the comment:
The bug seems related to Sphynx on Python3.
These examples are NOT colored::
class Z:
def __init__(self):
pass
::
class F:
def __foo__(self):
pass
::
class C:
def method(self):
pass
c = C()
c.method.__func__.whoami = 'my name is c'
While these examples are colored correctly::
class A:
pass
class B:
def b(self):
pass
class C(): pass
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7487>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com