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)
| 1637 | return "".join(result) |
| 1638 | |
| 1639 | def print_help(self, file=None): |
| 1640 | """print_help(file : file = stdout) |
| 1641 | |
| 1642 | Print an extended help message, listing all options and any |
| 1643 | help text provided with them, to 'file' (default stdout). |
| 1644 | """ |
| 1645 | if file is None: |
| 1646 | file = sys.stdout |
| 1647 | file.write(self.format_help()) |
| 1648 | |
| 1649 | # class OptionParser |
| 1650 |
no test coverage detected