diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-25 01:04:21 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-25 01:04:21 (GMT) |
commit | e0a0a6e93729a44240de6bf78bcf052c4b75427d (patch) | |
tree | 69e0463708f9d02331739c8a91612561169ef9aa /Modules/cmathmodule.c | |
parent | b0d26335f2972731c4ebb5213bd942e2cfbcedbc (diff) | |
download | cpython-e0a0a6e93729a44240de6bf78bcf052c4b75427d.zip cpython-e0a0a6e93729a44240de6bf78bcf052c4b75427d.tar.gz cpython-e0a0a6e93729a44240de6bf78bcf052c4b75427d.tar.bz2 |
Since PyUnicode_AsString is a public API, don't just assert, but do
a regular check and return an error if not unicode.
Diffstat (limited to 'Modules/cmathmodule.c')
0 files changed, 0 insertions, 0 deletions