mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix test suite errors.
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user