Rangarajan, You may be on to something but the description is a bit dense.
Can you show some examples of how this would work, and contrast those with how the same thing would have to be done without your proposed feature? —Guido On Thu, Sep 10, 2020 at 05:47 <rangap...@gmail.com> wrote: > Hi, > > 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. > > > > Regards > > Ranga > > _______________________________________________ > > Python-ideas mailing list -- python-ideas@python.org > > To unsubscribe send an email to python-ideas-le...@python.org > > https://mail.python.org/mailman3/lists/python-ideas.python.org/ > > Message archived at > https://mail.python.org/archives/list/python-ideas@python.org/message/JBVLH244IKOVLHFBZKC7DDMB6QT2T5QQ/ > > Code of Conduct: http://python.org/psf/codeofconduct/ > > -- --Guido (mobile)
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/HH3NUZEJUHK4RMPWMJ2523DADVXDN2B5/ Code of Conduct: http://python.org/psf/codeofconduct/