Created
June 30, 2014 03:32
-
-
Save jacobcase/61898bdae3cc17b8e060 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoErrorArgParse = type("NoErrorArgParse", argparse.ArgumentParser.__bases__, copy.deepcopy(dict(argparse.ArgumentParser.__dict__))) | |
NoErrorArgParse.error = lambda: None | |
NoErrorArgParse.exit = lambda: None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment