Larry Hastings added the comment:

Actually, the documentation (the "howto") states:

Note that object() must explicitly support each Python type you specify for the 
type argument. Currently it only supports str. It should be easy to add more, 
just edit Tools/clinic/clinic.py, search for O! in the text, and add more 
entries to the dict mapping types to strings just above it.

Maybe this is a bad API.  But it's not broken.

----------

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

Reply via email to