summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-17 14:50:24 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-17 14:50:24 (GMT)
commite888cdc68346ee34698121e23a03e85a3de902aa (patch)
tree6f7f8598510a1d8f78dbb3e4e2e1d46155b5676c /PC
parent787410680b9866d56a1ec1915ebbf41ab5cac7a0 (diff)
downloadcpython-e888cdc68346ee34698121e23a03e85a3de902aa.zip
cpython-e888cdc68346ee34698121e23a03e85a3de902aa.tar.gz
cpython-e888cdc68346ee34698121e23a03e85a3de902aa.tar.bz2
Get rid of _once(); inlining it takes less code. :-)
Also, don't call gettempdir() in the default expression for the 'dir' argument to various functions; use 'dir=None' for the default and insert 'if dir is None: dir = gettemptir()' in the bodies. That way the work done by gettempdir is postponed until needed.
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions