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.

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 

References f, and postprocess-scan-build.formatter.

f
double f[11][100]
Definition: MuScleFitUtils.cc:78
postprocess-scan-build.formatter
formatter
Definition: postprocess-scan-build.py:49
extend_argparse.FixedWidthFormatter
def FixedWidthFormatter(formatter, width)
Definition: extend_argparse.py:20