Re: argparse.ArgumentParser formatter_class argument

2017-12-17 Thread Seb
On Sun, 17 Dec 2017 10:12:07 +0100, Peter Otten <__pete...@web.de> wrote: > Seb wrote: >> As far as I can see it is currently impossible to apply more than one >> class to an ArgumentParser. For example, I'd like to use both >> RawDescriptionHelpFormatter *and* ArgumentDefaultsHelpFormatter in an

Re: argparse.ArgumentParser formatter_class argument

2017-12-17 Thread Peter Otten
Seb wrote: > As far as I can see it is currently impossible to apply more than one > class to an ArgumentParser. For example, I'd like to use both > RawDescriptionHelpFormatter *and* ArgumentDefaultsHelpFormatter in an > ArgumentParser, but it seems that's impossible, as one can only choose a > s

argparse.ArgumentParser formatter_class argument

2017-12-16 Thread Seb
Hello, As far as I can see it is currently impossible to apply more than one class to an ArgumentParser. For example, I'd like to use both RawDescriptionHelpFormatter *and* ArgumentDefaultsHelpFormatter in an ArgumentParser, but it seems that's impossible, as one can only choose a single one. An