argparse.ArgumentParser formatter_class argument

Seb spluque at gmail.com
Sat Dec 16 22:40:43 EST 2017


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. Any suggestions?
-- 
Seb


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /