Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/stdlib2.rst @ 51745:9815da43a1ce legacy-trunk
revert r69777 since all the experts agree that extra import lines distract from the code
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 20 Feb 2009 03:31:23 +0000 |
| parents | 438592890e2b |
| children | a9252b8847f0 |
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst Thu Feb 19 18:52:21 2009 +0000 +++ b/Doc/tutorial/stdlib2.rst Fri Feb 20 03:31:23 2009 +0000 @@ -170,8 +170,7 @@ The following code shows how the high level :mod:`threading` module can run tasks in background while the main program continues to run:: - import threading - import zipfile + import threading, zipfile class AsyncZip(threading.Thread): def __init__(self, infile, outfile):
