#581: Fix traceback in Python domain for empty cross-reference targets.

This commit is contained in:
Georg Brandl 2011-01-04 23:39:13 +01:00
parent 3f44fc7332
commit 7e3151dd73
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
Release 1.0.6 (in development)
==============================
* #581: Fix traceback in Python domain for empty cross-reference
targets.
* #283: Fix literal block display issues on Chrome browsers.
* #383, #148: Support sorting a limited range of accented characters

View File

@ -585,7 +585,7 @@ class PythonDomain(Domain):
name = name[:-2]
if not name:
return None, None
return []
objects = self.data['objects']
matches = []

View File

@ -13,6 +13,9 @@ Testing object descriptions
.. function:: func_with_module
:module: foolib
Referring to :func:`func with no index <func_noindex>`.
Referring to :func:`nothing <>`.
.. module:: mod
:synopsis: Module synopsis.
:platform: UNIX