]> granicus.if.org Git - python/commit
bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580)
authorWindson yang <wiwindson@outlook.com>
Sat, 17 Nov 2018 19:16:51 +0000 (03:16 +0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Nov 2018 19:16:51 +0000 (11:16 -0800)
commit689d555ec135d4115574addd063c358ac4897cc4
treeba1d0bd4da45b17a4214c1192dcd32ba98fa9442
parent38df97a03c5102e717a110ab69bff8e5c9ebfd08
bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580)

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

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

https://bugs.python.org/issue25438
Doc/c-api/structures.rst