Yurii Karabas <1998uri...@gmail.com> added the comment:

`NewType` was converted into callable class at scope of 
https://bugs.python.org/issue44353

Currently `repr` of `NewType` is:
```
>>> UserId = NewType("UserId", int)
__main__.UserId
```

----------
nosy: +uriyyo

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34963>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to