Classes | |
class | HelpFormatterRespectNewlines |
Functions | |
def | FixedWidthFormatter |
def extend_argparse::FixedWidthFormatter | ( | formatter, | |
width | |||
) |
Adaptor for argparse formatters using an explicit fixed width
Definition at line 20 of file extend_argparse.py.
00021 : 00022 """Adaptor for argparse formatters using an explicit fixed width 00023 """ 00024 def f(*args, **keywords): 00025 # add or replace the "width" parameter 00026 keywords['width'] = width 00027 return formatter(*args, **keywords) 00028 00029 return f 00030