On 2020-09-10 at 11:45:37 -0000, [email protected] wrote: > Got the argparse() in version 3.8.2 and above the action=CusotmClass > can have a user defined custom subclass and override the functionality > in the def __init__() method. Along with this can we also have a built > in custom method/methods that I can define under this custom Class, so > that instead of calling the Action itself I have the option of calling > the Action.Method() during the add_argument defintition.
Why do you want that? What, exactly, could you do (or do better) with another method that you can't do with another class's __init__? _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/XYHLMUASGUC3BAGHUKL5B5XQSHLGJU3L/ Code of Conduct: http://python.org/psf/codeofconduct/
