Fix test suite errors.

This commit is contained in:
Georg Brandl 2010-01-13 23:44:31 +00:00
parent ba8ffcc8d0
commit 6ae7e196c3
2 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class Cmdoption(ObjectDescription):
Description of a command-line option (.. cmdoption).
"""
def parse_signature(self, sig, signode):
def handle_signature(self, sig, signode):
"""Transform an option description into RST nodes."""
count = 0
firstname = ''

View File

@ -29,6 +29,7 @@ from docutils.utils import relative_path
import jinja2
import sphinx
from sphinx.errors import PycodeError
# Errnos that we need.
EEXIST = getattr(errno, 'EEXIST', 0)