On Thu, 23 Jun 2022 17:01:42 -0600, Mats Wichmann
declaimed the following:
>Assuming: that the "value" in your init method signature was supposed to
>be 'name' since that's what you use later - and would explain your
>exception!
>
Since it is a "named int", I'd expect value to the
Thanks a lot.
I will read documentation of enum module
בתאריך יום ו׳, 24 ביוני 2022, 14:33, מאת Roel Schroeven <
r...@roelschroeven.net>:
> Op 24/06/2022 om 0:32 schreef Dennis Lee Bieber:
> > On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer"
> > declaimed the following:
> >
> > >???
Op 24/06/2022 om 0:32 schreef Dennis Lee Bieber:
On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer"
declaimed the following:
>??? wrote at 2022-6-23 15:31 +0300:
>>how to solve this (argparse)
>>MAXREPEAT = _NamedIntConstant(32,name=str(32))
>>TypeError: 'name' is an invalid keyword
Can you help me for solve it
בתאריך יום שישי, 24 ביוני 2022, מאת Dennis Lee Bieber :
> On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer"
> declaimed the following:
>
> >??? wrote at 2022-6-23 15:31 +0300:
> >>how to solve this (argparse)
>
> >>MAXREPEAT =
הודעה שהועברה --
מאת: *Dieter Maurer*
תאריך: יום שישי, 24 ביוני 2022
נושא: argparse modify
אל: נתישטרן
עותק: "python-list-requ...@python.org" , "
python-list@python.org"
נתי שטרן wrote at 2022-6-24 08:28 +0300:
>I copied code from argpar
נתי שטרן wrote at 2022-6-24 08:28 +0300:
>I copied code from argparse library and modified it
>
>בתאריך יום חמישי, 23 ביוני 2022, מאת Dieter Maurer :
>
>> נתי שטרן wrote at 2022-6-23 15:31 +0300:
>> >how to solve this (argparse)
>> >
>> >
>> >traceback:
>> >Traceback (most recent call last):
>> >
I copied code from argparse library and modified it
בתאריך יום חמישי, 23 ביוני 2022, מאת Dieter Maurer :
> נתי שטרן 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
> >class
On Fri, 24 Jun 2022 at 09:03, Mats Wichmann wrote:
> Also note that while it's claimed to be fine These Days, inheriting from
> a base type like this is sometimes tricky, sometimes broken... be
> somewhat aware.
Depends on your definition of "broken". If you want to make a custom
integer type,
On 6/23/22 16:32, Dennis Lee Bieber wrote:
> On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer"
> declaimed the following:
>
>> ??? wrote at 2022-6-23 15:31 +0300:
>>> how to solve this (argparse)
>
>>>MAXREPEAT = _NamedIntConstant(32,name=str(32))
>>> TypeError: 'name' is an invalid
On Thu, 23 Jun 2022 18:57:31 +0200, "Dieter Maurer"
declaimed the following:
>??? wrote at 2022-6-23 15:31 +0300:
>>how to solve this (argparse)
>>MAXREPEAT = _NamedIntConstant(32,name=str(32))
>>TypeError: 'name' is an invalid keyword argument for int()
>
>This does not look like an
נתי שטרן 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
>class sre_constants():
> File "u:\oracle\RTR.py", line 77, in sre_constants
>MAXREPEAT = _NamedIntConstant(32,name=str(32))
how to solve this (argparse)
traceback:
Traceback (most recent call last):
File "u:\oracle\RTR.py", line 10, in
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
12 matches
Mail list logo