diff options
author | Guido van Rossum <guido@python.org> | 2002-08-17 14:50:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-17 14:50:24 (GMT) |
commit | e888cdc68346ee34698121e23a03e85a3de902aa (patch) | |
tree | 6f7f8598510a1d8f78dbb3e4e2e1d46155b5676c /PC | |
parent | 787410680b9866d56a1ec1915ebbf41ab5cac7a0 (diff) | |
download | cpython-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