[docs] [issue15984] Wrong documentation for PyUnicode_FromObject() and PyUnicode_FromEncodedObject()

R. David Murray report at bugs.python.org
Fri May 3 17:16:41 CEST 2013


R. David Murray added the comment:

Well, while 'coercion' does refer to changing from one type to another, and technically we are doing that here, in OO we generally think of subclasses as more-or-less being of the same type as the superclass.  So I think it would be clearer to spell out that we are changing the object type to be that of the superclass.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15984>
_______________________________________


More information about the docs mailing list