New issue 2083: type(None).__repr__(None) gives type error
https://bitbucket.org/pypy/pypy/issues/2083/type-none-__repr__-none-gives-type-error

David MacIver:

This should return "None" and does on CPython 2.7.10, but on pypy it instead 
gives a TypeError:

```
>>>> type(None).__repr__(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __repr__() takes exactly 1 argument (2 given)
```


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to