summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-11 20:12:26 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-11 20:12:26 (GMT)
commit564a6cc8cae4cd9461c01ac4c7a14915744bcc1e (patch)
treedb45214d7eea0a4af948551a776a20929f7bf04c /Objects
parent7e473800c31e650ad573e5af21a6ed63e155c2f6 (diff)
downloadcpython-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 'Objects')
0 files changed, 0 insertions, 0 deletions