]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix a minor style consistency issue.
authorFred Drake <fdrake@acm.org>
Fri, 11 May 2001 20:12:26 +0000 (20:12 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 11 May 2001 20:12:26 +0000 (20:12 +0000)
commit564a6cc8cae4cd9461c01ac4c7a14915744bcc1e
treedb45214d7eea0a4af948551a776a20929f7bf04c
parent7e473800c31e650ad573e5af21a6ed63e155c2f6
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.
Modules/socketmodule.c