summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2007-08-04 23:33:10 +0000
committergeorg.brandl <devnull@localhost>2007-08-04 23:33:10 +0000
commit30223bd408a3078562d96f8b5e29adbc795fccfb (patch)
tree50f63b04a632f098cd6e3b14e9a7a5753ee12fd6 /sphinx/addnodes.py
parent15ec3428cf60b032e70e04fc5785d178a6a36c7a (diff)
downloadsphinx-30223bd408a3078562d96f8b5e29adbc795fccfb.tar.gz
Only highlight snippets as Python if they can be parsed as Python.
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 063fde94..51626d03 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -50,7 +50,7 @@ class compact_paragraph(nodes.paragraph): pass
# sets the highlighting language for literal blocks
class highlightlang(nodes.Element): pass
-# doesn't apply further text processors, e.g. smartypants
+# like emphasis, but doesn't apply further text processors, e.g. smartypants
class literal_emphasis(nodes.emphasis): pass
# make them known to docutils. this is needed, because the HTMl writer