diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-26 21:33:24 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-05-26 21:33:24 +0000 |
| commit | da24d3d9d27f18e38f4bb345f1f9965e985391a8 (patch) | |
| tree | 1777475e88463b08438f0719be97cc087554eadd | |
| parent | ae8ef9f0962000f94e643940da8d495097141f1a (diff) | |
| download | docutils-0.3.9@3377.tar.gz | |
added __future__ statement to avoid warnings about nested scopes with Python 2.1.docutils-0.3.9@3377
Sorry David, there's just no other quick way I can avoid this. ;-)
And making named functions out of the lambdas would look terrible...
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3376 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/writers/newlatex2e.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docutils/writers/newlatex2e.py b/docutils/writers/newlatex2e.py index 7f8baaf3f..aee2c9f6f 100644 --- a/docutils/writers/newlatex2e.py +++ b/docutils/writers/newlatex2e.py @@ -15,6 +15,8 @@ LaTeX2e document tree Writer. __docformat__ = 'reStructuredText' +from __future__ import nested_scopes + import re import os.path from types import ListType |
