diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-10 12:01:56 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-10 12:01:56 +0300 |
| commit | c499f30286976410be13c8476408531bb21631ce (patch) | |
| tree | 86b8972b6663726a50d716bb13773171f1ca425a /Doc/tutorial/stdlib2.rst | |
| parent | a4dfbe608fb52191b435c5545e8a343586887135 (diff) | |
| parent | dba903993a8d3e13d2cf83d6a8912e908025b17b (diff) | |
| download | cpython-git-c499f30286976410be13c8476408531bb21631ce.tar.gz | |
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Diffstat (limited to 'Doc/tutorial/stdlib2.rst')
| -rw-r--r-- | Doc/tutorial/stdlib2.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst index 71194b0476..bf4cf87dc3 100644 --- a/Doc/tutorial/stdlib2.rst +++ b/Doc/tutorial/stdlib2.rst @@ -180,6 +180,7 @@ tasks in background while the main program continues to run:: threading.Thread.__init__(self) self.infile = infile self.outfile = outfile + def run(self): f = zipfile.ZipFile(self.outfile, 'w', zipfile.ZIP_DEFLATED) f.write(self.infile) |
