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

Kyle Roberts report at bugs.python.org
Wed May 1 04:23:13 CEST 2013


Kyle Roberts added the comment:

I've uploaded a new patch with the obj argument properly marked up. Brian, I think *obj* is what we want based on other examples in that file. It looks like italics is typically used when discussing parameters since each parameter is italicized in the signature.

R.David and Serhiy, I thought about the use of "coercion" some more and I think the current wording is fine. "Type coercion/conversion" is a commonly used phrase with some languages, so I think the phrase is applicable here as well (for a python example: http://docs.python.org/release/2.5.2/ref/coercion-rules.html). Let me know if you'd still like to see it changed. Thanks.

----------
Added file: http://bugs.python.org/file30086/from_object_v2.patch

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


More information about the docs mailing list