[issue30152] Reduce the number of imports for argparse

Berker Peksag report at bugs.python.org
Mon Apr 24 06:58:00 EDT 2017


Berker Peksag added the comment:

> The patch also makes argparse itself be imported only when the module
> is used as a script, not just imported.

+1. I'd move this into its own PR.

----------
nosy: +berker.peksag

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30152>
_______________________________________


More information about the Python-bugs-list mailing list