CMS 3D CMS Logo

Classes | Functions
extend_argparse Namespace Reference

Classes

class  HelpFormatterRespectNewlines
 

Functions

def FixedWidthFormatter (formatter, width)
 

Function Documentation

◆ 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.

References f.

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