CMS 3D CMS Logo

List of all members | Private Member Functions
argparse.RawDescriptionHelpFormatter Class Reference
Inheritance diagram for argparse.RawDescriptionHelpFormatter:
argparse.HelpFormatter argparse.RawTextHelpFormatter

Private Member Functions

def _fill_text (self, text, width, indent)
 

Additional Inherited Members

- Public Member Functions inherited from argparse.HelpFormatter
def __init__ (self, prog, indent_increment=2, max_help_position=24, width=None)
 
def add_argument (self, action)
 
def add_arguments (self, actions)
 
def add_text (self, text)
 
def add_usage (self, usage, actions, groups, prefix=None)
 
def end_section (self)
 
def format_help (self)
 
def start_section (self, heading)
 

Detailed Description

Help message formatter which retains any formatting in descriptions.

Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.

Definition at line 644 of file argparse.py.

Member Function Documentation

def argparse.RawDescriptionHelpFormatter._fill_text (   self,
  text,
  width,
  indent 
)
private

Definition at line 651 of file argparse.py.

References join().

651  def _fill_text(self, text, width, indent):
652  return ''.join([indent + line for line in text.splitlines(True)])
653 
654 
def _fill_text(self, text, width, indent)
Definition: argparse.py:651
static std::string join(char **cmd)
Definition: RemoteFile.cc:18