Unlikely. The first example that doesn't pygmentized should work with any
Python:

# quickPython/strings.py
print "That isn't a horse"
print 'You are not a "Viking"'
print """You're just pounding two
coconut halves together."""
Print '''"Oh no!" He exclaimed.
"It's the blemange!"'''
print r'c:\python\lib\utils'


On Sun, Oct 19, 2008 at 2:08 PM, Christophe de VIENNE
<[EMAIL PROTECTED]>wrote:

>
> I think I have observed such a behavior when the python code sample
> is, for example valid python 2.6 but not python 2.4, which is the
> version of python I use to compile the docs.
>
> It seemed that sphinx try to compile the sample to decide it it is
> valid python, and if not the code doesn't get coloured.
>
> I'm not 100% sure of this but if it can help...
>
> Christophe de Vienne
>
> 2008/10/19 Bruce Eckel <[EMAIL PROTECTED]>:
> > Not really clear why it works most of the time, and not some of the time.
> > In particular, you see examples of this in the first and second chapters.
> > I've attached the source files; all you need to do is "make html"
> >
> > --
> > Bruce Eckel
> >
>
> >
>


-- 
Bruce Eckel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to