argparse modify

נתי שטרן nsh531 at gmail.com
Fri Jun 24 01:28:18 EDT 2022


I copied code from argparse library and modified it

בתאריך יום חמישי, 23 ביוני 2022, מאת Dieter Maurer <dieter at handshake.de>:

> נתי שטרן wrote at 2022-6-23 15:31 +0300:
> >how to solve this (argparse)
> >
> >
> >traceback:
> >Traceback (most recent call last):
> >  File "u:\oracle\RTR.py", line 10, in <module>
> >    class sre_constants():
> >  File "u:\oracle\RTR.py", line 77, in sre_constants
> >    MAXREPEAT = _NamedIntConstant(32,name=str(32))
> >TypeError: 'name' is an invalid keyword argument for int()
>
> This does not look like an `argparse` problem:
> the traceback comes from `oracle/RTR.py`.
>


-- 
<https://netanel.ml>


More information about the Python-list mailing list