print_help(file : file = stdout) Print an extended help message, listing all options and any help text provided with them, to 'file' (default stdout).
(self, file=None)
| 1627 | return "".join(result) |
| 1628 | |
| 1629 | def print_help(self, file=None): |
| 1630 | """print_help(file : file = stdout) |
| 1631 | |
| 1632 | Print an extended help message, listing all options and any |
| 1633 | help text provided with them, to 'file' (default stdout). |
| 1634 | """ |
| 1635 | if file is None: |
| 1636 | file = sys.stdout |
| 1637 | file.write(self.format_help()) |
| 1638 | |
| 1639 | # class OptionParser |
| 1640 |
no test coverage detected