Message266643
>>>class x(type):pass
>>> x(x)
Traceback (most recent call last):
File "<pyshell#335>", line 1, in <module>
x(x)
TypeError: type() takes 1 or 3 arguments
I am giving it one argument, and yet it's complaining that `type` expects one or three arguments. How unhelpful. |
|
Date |
User |
Action |
Args |
2016-05-29 22:46:08 | ppperry | set | recipients:
+ ppperry |
2016-05-29 22:46:08 | ppperry | set | messageid: <1464561968.54.0.551105312321.issue27157@psf.upfronthosting.co.za> |
2016-05-29 22:46:08 | ppperry | link | issue27157 messages |
2016-05-29 22:46:08 | ppperry | create | |
|