summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-16 15:54:04 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-16 15:54:04 (GMT)
commitfe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c (patch)
tree5f0300442574c00e152284d0a223380f59dac6bf /Lib/zipfile.py
parent3d6575dfc85cd11473aa93a8219ac010a823919a (diff)
downloadcpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.zip
cpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.tar.gz
cpython-fe99105835b59e66ca1fd53ea3f8bcec3ec7cb3c.tar.bz2
Use true booleans and PEP8 for argdefaults.
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 0cfa37e..79ec333 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -1258,7 +1258,7 @@ class ZipFile:
class PyZipFile(ZipFile):
"""Class to create ZIP archives with Python library files and packages."""
- def writepy(self, pathname, basename = ""):
+ def writepy(self, pathname, basename=""):
"""Add all files from "pathname" to the ZIP archive.
If pathname is a package directory, search the directory and