summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-08-27 03:11:09 +0000
committerBarry Warsaw <barry@python.org>2001-08-27 03:11:09 +0000
commit7c47beb860fcea2029850f1036fe1be216aab78e (patch)
treef8f5d5120237de1c7264d9d33d1bedc8ee70be40 /Python/importdl.c
parent5a6fdcd3718927109592c6df692fe24a8fdaee31 (diff)
downloadcpython-git-7c47beb860fcea2029850f1036fe1be216aab78e.tar.gz
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 'Python/importdl.c')
0 files changed, 0 insertions, 0 deletions