Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

If you read the text afterwards, you'll see that raising a TypeError was the 
intended purpose of this example.  Just afterward, it shows how to use *type* 
to make the code correct.

----------
assignee:  -> rhettinger
nosy: +rhettinger
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to