CMS 3D CMS Logo

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

Private Member Functions

def _split_lines (self, text, width)
 

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 formatting of all help text.

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 655 of file argparse.py.

Member Function Documentation

def argparse.RawTextHelpFormatter._split_lines (   self,
  text,
  width 
)
private

Definition at line 662 of file argparse.py.

662  def _split_lines(self, text, width):
663  return text.splitlines()
664 
665 
def _split_lines(self, text, width)
Definition: argparse.py:662