]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use PyUnicode_WCHAR_KIND to check if a string is a wstr string
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 00:16:37 +0000 (02:16 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 3 Oct 2011 00:16:37 +0000 (02:16 +0200)
commita3be613a564c16cd50cdb7387d5a99057e6e2b96
treed027eda8e811f493b99306614dd5f18bbbcb0ba2
parent910337b42ebd845f87fc2fadcbf6e3061b5d4c97
Use PyUnicode_WCHAR_KIND to check if a string is a wstr string

Simplify the test in wstr pointer in unicode_sizeof().
Objects/unicodeobject.c