[pypy-dev] __new__ got multiple values for keyword argument 'type'

Sanghyeon Seo sanxiyn at gmail.com
Thu Jan 26 15:28:47 CET 2006


With r22685, I get this error:

$ py.py
PyPy 0.8.0 in StdObjSpace on top of Python 2.3.5 (startuptime: 5.94 secs)
>>>> class C:
....   def __init__(self, **kw):
....     pass
....
>>>> c = C(type='test')
Traceback (application-level):
  File "<inline>", line 1 in <interactive>
    c = C(type='test')
TypeError: __new__() got multiple values for keyword argument 'type'
>>>>

Any idea?

Seo Sanghyeon



More information about the Pypy-dev mailing list