argparse modify

Dieter Maurer dieter at handshake.de
Thu Jun 23 12:57:31 EDT 2022


נתי שטרן 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`.


More information about the Python-list mailing list