test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
extend_argparse Namespace Reference

Classes

class  HelpFormatterRespectNewlines
 

Functions

def FixedWidthFormatter
 

Function Documentation

def extend_argparse.FixedWidthFormatter (   formatter,
  width 
)
Adaptor for argparse formatters using an explicit fixed width

Definition at line 20 of file extend_argparse.py.

References f.

20 
21 def FixedWidthFormatter(formatter, width):
22  """Adaptor for argparse formatters using an explicit fixed width
23  """
24  def f(*args, **keywords):
25  # add or replace the "width" parameter
26  keywords['width'] = width
27  return formatter(*args, **keywords)
28 
29  return f
30 
double f[11][100]