File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66from itertools import chain , groupby
77from argparse import ArgumentParser , Namespace
88import argparse
9- from docrep import DocstringProcessor
9+ import docrep
1010
1111try :
1212 from cyordereddict import OrderedDict
2626__version__ = '0.2.3'
2727
2828
29- docstrings = DocstringProcessor ()
29+ docstrings = docrep . DocstringProcessor ()
3030
3131
3232_on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
@@ -145,8 +145,8 @@ def get_param_doc(doc, param):
145145 The documentation of the given `param`
146146 str
147147 The datatype of the given `param`"""
148- arg_doc = docrep .keep_params (doc , [ param ] ) or \
149- docrep .keep_types (doc , [ param ] )
148+ arg_doc = docrep .keep_params (doc , param ) or \
149+ docrep .keep_types (doc , param )
150150 dtype = None
151151 if arg_doc :
152152 lines = arg_doc .splitlines ()
You can’t perform that action at this time.
0 commit comments