doc: fixes for sphinx 1.1

This commit is contained in:
Mathieu Virbel 2011-09-28 22:58:15 +02:00
parent 1d5443bba7
commit 483c30195c
1 changed files with 1 additions and 1 deletions

View File

@ -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)