diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-11 20:12:26 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-11 20:12:26 (GMT) |
commit | 564a6cc8cae4cd9461c01ac4c7a14915744bcc1e (patch) | |
tree | db45214d7eea0a4af948551a776a20929f7bf04c /Mac | |
parent | 7e473800c31e650ad573e5af21a6ed63e155c2f6 (diff) | |
download | cpython-564a6cc8cae4cd9461c01ac4c7a14915744bcc1e.zip cpython-564a6cc8cae4cd9461c01ac4c7a14915744bcc1e.tar.gz cpython-564a6cc8cae4cd9461c01ac4c7a14915744bcc1e.tar.bz2 |
Fix a minor style consistency issue.
When getting a string buffer for a string we just created, use
PyString_AS_STRING() instead of PyString_AsString() to avoid the
call overhead and extra type check.
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions