test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 

Additional Inherited Members

- Public Member Functions inherited from argparse.HelpFormatter
def __init__
 
def add_argument
 
def add_arguments
 
def add_text
 
def add_usage
 
def end_section
 
def format_help
 
def start_section
 

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().

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