diff options
author | Barry Warsaw <barry@python.org> | 2001-08-27 03:11:09 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-08-27 03:11:09 (GMT) |
commit | 7c47beb860fcea2029850f1036fe1be216aab78e (patch) | |
tree | f8f5d5120237de1c7264d9d33d1bedc8ee70be40 /Modules | |
parent | 5a6fdcd3718927109592c6df692fe24a8fdaee31 (diff) | |
download | cpython-7c47beb860fcea2029850f1036fe1be216aab78e.zip cpython-7c47beb860fcea2029850f1036fe1be216aab78e.tar.gz cpython-7c47beb860fcea2029850f1036fe1be216aab78e.tar.bz2 |
Two improvements suggested by Greg Stein:
PyString_FromFormatV(): In the final resize at the end, we can use
PyString_AS_STRING() since we know the object is a string and can
avoid the typechecking.
PyString_FromFormat(): GS sez: "For safety/propriety, you should call
va_end() on the vargs variable."
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions