commit | a3be613a564c16cd50cdb7387d5a99057e6e2b96 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 02:16:37 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 02:16:37 2011 +0200 |
tree | d027eda8e811f493b99306614dd5f18bbbcb0ba2 | |
parent | 910337b42ebd845f87fc2fadcbf6e3061b5d4c97 [diff] |
Use PyUnicode_WCHAR_KIND to check if a string is a wstr string Simplify the test in wstr pointer in unicode_sizeof().