def print_help(self, file=None):
if file is None:<EOL><INDENT>file = sys.stdout<EOL><DEDENT>encoding = self._get_encoding(file)<EOL>file.write(self.format_help())<EOL>
print_help(file : file = stdout)

        Print an extended help message, listing all options and any
        help text provided with them, to 'file' (default stdout).