summaryrefslogtreecommitdiff
path: root/sphinx/ext/jsmath.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-11-08 19:01:31 +0100
committerGeorg Brandl <georg@python.org>2009-11-08 19:01:31 +0100
commit630c39d6e12065ad0d4714006cf30476e025bddd (patch)
tree1498ccfb7f491bca27d772c4ff78b7bf87b069cf /sphinx/ext/jsmath.py
parenta2c483c20b8f8bc5fc895cf03cfe69be70a61524 (diff)
downloadsphinx-git-630c39d6e12065ad0d4714006cf30476e025bddd.tar.gz
Change the name of mathbase.setup() so that putting it in extensions doesn't fail with an obscure TypeError.
Diffstat (limited to 'sphinx/ext/jsmath.py')
-rw-r--r--sphinx/ext/jsmath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/jsmath.py b/sphinx/ext/jsmath.py
index e51af4550..79e2565a7 100644
--- a/sphinx/ext/jsmath.py
+++ b/sphinx/ext/jsmath.py
@@ -13,7 +13,7 @@
from docutils import nodes
from sphinx.application import ExtensionError
-from sphinx.ext.mathbase import setup as mathbase_setup
+from sphinx.ext.mathbase import setup_math as mathbase_setup
def html_visit_math(self, node):