summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-03-08 22:16:25 (GMT)
committerCollin Winter <collinw@gmail.com>2007-03-08 22:16:25 (GMT)
commit9b2a10954037b30851322fac794ce098118f4f42 (patch)
tree19896427367270a7814567e05cf349d77a9c365c
parent0e520b46ab9a45b66378fd964a1e6bd4a9776a59 (diff)
downloadcpython-9b2a10954037b30851322fac794ce098118f4f42.zip
cpython-9b2a10954037b30851322fac794ce098118f4f42.tar.gz
cpython-9b2a10954037b30851322fac794ce098118f4f42.tar.bz2
Patch #1668482: don't use '-' in mkstemp
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 2e8cd6d..7809552 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -114,7 +114,7 @@ class _RandomNameSequence:
characters = ("abcdefghijklmnopqrstuvwxyz" +
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +
- "0123456789-_")
+ "0123456789_")
def __init__(self):
self.mutex = _allocate_lock()