diff options
author | Guido van Rossum <guido@python.org> | 2002-08-17 14:50:24 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-17 14:50:24 +0000 |
commit | e888cdc68346ee34698121e23a03e85a3de902aa (patch) | |
tree | 6f7f8598510a1d8f78dbb3e4e2e1d46155b5676c /Python/mysnprintf.c | |
parent | 787410680b9866d56a1ec1915ebbf41ab5cac7a0 (diff) | |
download | cpython-git-e888cdc68346ee34698121e23a03e85a3de902aa.tar.gz |
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 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions