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.HelpFormatter argparse.RawTextHelpFormatter argparse.RawTextHelpFormatter

Private Member Functions

def _fill_text
 
def _fill_text
 

Additional Inherited Members

- Public Member Functions inherited from argparse.HelpFormatter
def __init__
 
def __init__
 
def add_argument
 
def add_argument
 
def add_arguments
 
def add_arguments
 
def add_text
 
def add_text
 
def add_usage
 
def add_usage
 
def end_section
 
def end_section
 
def format_help
 
def format_help
 
def start_section
 
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 627 of file argparse.py.

Member Function Documentation

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

Definition at line 634 of file argparse.py.

References join().

Referenced by argparse.RawDescriptionHelpFormatter._fill_text(), and python.rootplot.argparse.HelpFormatter._format_text().

635  def _fill_text(self, text, width, indent):
636  return ''.join([indent + line for line in text.splitlines(True)])
637 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def argparse.RawDescriptionHelpFormatter._fill_text (   self,
  text,
  width,
  indent 
)
private

Definition at line 651 of file argparse.py.

References argparse.RawDescriptionHelpFormatter._fill_text(), and 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