argparse.ArgumentParser("blah")
Roy Smith
roy at panix.com
Sun Oct 23 14:33:50 EDT 2011
In article <roy-632FE4.13374023102011 at news.panix.com>,
Roy Smith <roy at panix.com> wrote:
> As I read the docs (http://tinyurl.com/3ww9scr), the following two calls
> should result in the same object:
>
> parser = argparse.ArgumentParser(description="blah")
> parser = argparse.ArgumentParser("blah")
Sigh. I should have dug deeper before posting. The docs don't match
the code (they list the arguments in different orders).
I've opened http://bugs.python.org/issue13249 on this.
More information about the Python-list
mailing list