commit | e0a0a6e93729a44240de6bf78bcf052c4b75427d | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Aug 25 01:04:21 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Aug 25 01:04:21 2007 +0000 |
tree | 69e0463708f9d02331739c8a91612561169ef9aa | |
parent | b0d26335f2972731c4ebb5213bd942e2cfbcedbc [diff] |
Since PyUnicode_AsString is a public API, don't just assert, but do a regular check and return an error if not unicode.