summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/zipfile.py')
-rw-r--r--Lib/zipfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index c72c315..088f4a0 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -596,7 +596,7 @@ class ZipFile:
self.pwd = None
# Check if we were passed a file-like object
- if isinstance(file, basestring):
+ if isinstance(file, str):
# No, it's a filename
self._filePassed = 0
self.filename = file