diff options
| author | Georg Brandl <georg@python.org> | 2010-01-17 19:33:23 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-17 19:33:23 +0100 |
| commit | b0dbc8bb87461a6ac18acd744472f1eca94a3150 (patch) | |
| tree | deb311cb6a8c188e72e69193ef6bb0615a14cdf8 /sphinx/ext/viewcode.py | |
| parent | d640630d580aef603fed3e1dd6dfd15703a243f8 (diff) | |
| download | sphinx-b0dbc8bb87461a6ac18acd744472f1eca94a3150.tar.gz | |
Make the _ gettext alias an explicit import instead of installing into builtins.
Diffstat (limited to 'sphinx/ext/viewcode.py')
| -rw-r--r-- | sphinx/ext/viewcode.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py index 5dd2c076..11ab4b11 100644 --- a/sphinx/ext/viewcode.py +++ b/sphinx/ext/viewcode.py @@ -12,6 +12,7 @@ from docutils import nodes from sphinx import addnodes +from sphinx.locale import _ from sphinx.pycode import ModuleAnalyzer from sphinx.util.nodes import make_refnode |
