summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-13 23:33:56 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-13 23:33:56 (GMT)
commitbd7b4c7e46ca325da91ffccc247bdedb4ba2085a (patch)
treebebac78322b086a8d7b3399467ff6d698e3d43fd /Lib/tempfile.py
parent1749b252c9b30510e755cf775d3262510d5a585d (diff)
downloadcpython-bd7b4c7e46ca325da91ffccc247bdedb4ba2085a.zip
cpython-bd7b4c7e46ca325da91ffccc247bdedb4ba2085a.tar.gz
cpython-bd7b4c7e46ca325da91ffccc247bdedb4ba2085a.tar.bz2
template: removed special-casing for NT; there isn't an 8-character limit.
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index d3ec9a4..f9d8dbc 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -72,10 +72,7 @@ if hasattr(_os, 'TMP_MAX'):
else:
TMP_MAX = 10000
-if _os.name == 'nt':
- template = '~t' # cater to eight-letter limit
-else:
- template = "tmp"
+template = "tmp"
tempdir = None