[Python-Dev] C API doc question (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Fri Sep 3 13:13:07 CEST 2010
- Previous message: [Python-Dev] r84447 - in python/branches/py3k: Lib/test/test_set.py Objects/setobject.c
- Next message: [Python-Dev] C API doc question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Due to the Unicode API discussion, I happened to be looking at the C API docs at http://docs.python.org/dev/c-api/unicode.html#plain-py-unicode and noticed that out of:
PyUnicode_FromUnicode PyUnicode_FromStringAndSize PyUnicode_FromString PyUnicode_FromFormat PyUnicode_FromFormatV PyUnicode_FromEncodedObject PyUnicode_FromObject
only the first and the last two are flagged in the online docs as returning a new reference. The other 4 are not (but probably should be).
However, I can't see anything in the markup which is even causing those "Return value: New reference" markings to appear in the first place, nor any clues in the Documenting Python info. What am I missing?
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] r84447 - in python/branches/py3k: Lib/test/test_set.py Objects/setobject.c
- Next message: [Python-Dev] C API doc question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]