Message322034
In document https://docs.python.org/2/library/argparse.html#argparse.RawDescriptionHelpFormatter
this will fail with NameError: global name 'textwrap' is not defiend
>>> parser = argparse.ArgumentParser(
... prog='PROG',
... formatter_class=argparse.RawDescriptionHelpFormatter,
... description=textwrap.dedent('''\
... Please do not mess up this text!
... --------------------------------
... I have indented it
... exactly the way
... I want it
... ''')) |
|
Date |
User |
Action |
Args |
2018-07-20 20:34:50 | ckessler | set | recipients:
+ ckessler, docs@python |
2018-07-20 20:34:50 | ckessler | set | messageid: <1532118890.75.0.56676864532.issue34174@psf.upfronthosting.co.za> |
2018-07-20 20:34:50 | ckessler | link | issue34174 messages |
2018-07-20 20:34:50 | ckessler | create | |
|