summaryrefslogtreecommitdiff
path: root/Lib/whichdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/whichdb.py')
-rw-r--r--Lib/whichdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/whichdb.py b/Lib/whichdb.py
index cc5ced3acd..f077f87531 100644
--- a/Lib/whichdb.py
+++ b/Lib/whichdb.py
@@ -62,7 +62,7 @@ def whichdb(filename):
return "dumbdbm"
f = open(filename + os.extsep + "dir", "rb")
try:
- if f.read(1) in ["'", '"']:
+ if f.read(1) in ("'", '"'):
return "dumbdbm"
finally:
f.close()