[issue7487] doc: Code is not always colored
flox
report at bugs.python.org
Sat Dec 12 21:46:35 CET 2009
flox <laxyf at yahoo.fr> 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 <report at bugs.python.org>
<http://bugs.python.org/issue7487>
_______________________________________
More information about the Python-bugs-list
mailing list