File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1+ import os
12import sys
23from argparse import ArgumentParser
3- import os
44
55from docutils import nodes
6- from docutils .statemachine import StringList
6+ from docutils .frontend import OptionParser
7+ from docutils .parsers .rst import Directive , Parser
78from docutils .parsers .rst .directives import flag , unchanged
8- from docutils .parsers . rst import Parser , Directive
9+ from docutils .statemachine import StringList
910from docutils .utils import new_document
10- from docutils .frontend import OptionParser
1111from sphinx .util .nodes import nested_parse_with_titles
1212
1313from sphinxarg .parser import parse_parser , parser_navigate
Original file line number Diff line number Diff line change 1- from argparse import _HelpAction , _SubParsersAction , _StoreConstAction
21import re
2+ from argparse import _HelpAction , _StoreConstAction , _SubParsersAction
33
44
55class NavigationException (Exception ):
Original file line number Diff line number Diff line change 11import argparse
2- from sphinxarg . parser import parse_parser , parser_navigate
2+
33import six
44
5+ from sphinxarg .parser import parse_parser , parser_navigate
6+
57
68def test_parse_options ():
79 parser = argparse .ArgumentParser ()
You can’t perform that action at this time.
0 commit comments