From 483c30195ccf1821b6a56c75a46855302f227970 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 28 Sep 2011 22:58:15 +0200 Subject: [PATCH] doc: fixes for sphinx 1.1 --- doc/sources/sphinxext/preprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sources/sphinxext/preprocess.py b/doc/sources/sphinxext/preprocess.py index 161a1e978..898d5f693 100644 --- a/doc/sources/sphinxext/preprocess.py +++ b/doc/sources/sphinxext/preprocess.py @@ -55,7 +55,7 @@ def callback_docstring(app, what, name, obj, options, lines): if len(lines) and lines[0].startswith('=='): lines.pop(0) - elif is_cython_extension(what, obj): + elif is_cython_extension(what, obj) and lines: lines.pop(0) line = lines.pop(0)