]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6] bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Nov 2018 19:50:25 +0000 (11:50 -0800)
committerGitHub <noreply@github.com>
Sat, 17 Nov 2018 19:50:25 +0000 (11:50 -0800)
commit8945017be4cc9527767bb66673e73e28e4b0b4d3
tree7360e3de594045b6ba166eef1bc1dc28bccd402e
parent8d816f74d7673c836b16e4423fed0ec6ee510290
[3.6] bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580) (GH-10587)

Source of T_STRING: https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Python/structmember.cGH-L51

Source of PyUnicode_FromString
https://github.com/python/cpython/blob/master/Include/unicodeobject.hGH-L702

https://bugs.python.org/issue25438
(cherry picked from commit 689d555ec135d4115574addd063c358ac4897cc4)

Co-authored-by: Windson yang <wiwindson@outlook.com>
https://bugs.python.org/issue25438
Doc/c-api/structures.rst