Every line of 'python argparse help' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
1152 def print_help(self, file=None): 1153 """ 1154 Print a help message, including the program usage and information about the 1155 arguments registered with the :class:`ArgumentParser`. If *file* is 1156 ``None``, :data:`sys.stdout` is assumed. 1157 1158 There are also variants of these methods that simply return a string instead of 1159 printing it: 1160 1161 """ 1162 pass
78 def format_help(self): 79 return _colorize(super(ExtArgumentParser, self).format_help() + '\n\n')