diff options
| author | Guido van Rossum <guido@python.org> | 2007-08-29 13:53:23 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-08-29 13:53:23 (GMT) |
| commit | 7d1df6c9b1a7e075c03c4790f47bc83e0104579f (patch) | |
| tree | 6dceba59593ca682c88dd1a699fec2fc51f78129 /Lib/test/test_opcodes.py | |
| parent | 9befa93b04ee0c485615d87e4b34dcfe5e811194 (diff) | |
| download | cpython-7d1df6c9b1a7e075c03c4790f47bc83e0104579f.zip cpython-7d1df6c9b1a7e075c03c4790f47bc83e0104579f.tar.gz cpython-7d1df6c9b1a7e075c03c4790f47bc83e0104579f.tar.bz2 | |
Add PyUnicode_AsStringAndSize(), which is like PyUnicode_AsString() but
has an extra (optional) output parameter through which it returns the size.
Use this in a few places where I used PyUnicode_AsString() + strlen(),
and in one new place (which fixes test_pep263).
Diffstat (limited to 'Lib/test/test_opcodes.py')
0 files changed, 0 insertions, 0 deletions
