commit | 7c47beb860fcea2029850f1036fe1be216aab78e | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Aug 27 03:11:09 2001 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Aug 27 03:11:09 2001 +0000 |
tree | f8f5d5120237de1c7264d9d33d1bedc8ee70be40 | |
parent | 5a6fdcd3718927109592c6df692fe24a8fdaee31 [diff] |
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."