This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ppperry
Recipients ppperry
Date 2016-05-29.22:46:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464561968.54.0.551105312321.issue27157@psf.upfronthosting.co.za>
In-reply-to
Content
>>>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.
History
Date User Action Args
2016-05-29 22:46:08ppperrysetrecipients: + ppperry
2016-05-29 22:46:08ppperrysetmessageid: <1464561968.54.0.551105312321.issue27157@psf.upfronthosting.co.za>
2016-05-29 22:46:08ppperrylinkissue27157 messages
2016-05-29 22:46:08ppperrycreate