@@ -263,8 +263,8 @@ when currently pending futures are done executing.
263263A simple of example of :class: `~concurrent.futures.ThreadPoolExecutor ` is a
264264launch of four parallel threads for copying files::
265265
266- import threading , shutil
267- with threading .ThreadPoolExecutor(max_workers=4) as e:
266+ import concurrent.futures , shutil
267+ with concurrent.futures .ThreadPoolExecutor(max_workers=4) as e:
268268 e.submit(shutil.copy, 'src1.txt', 'dest1.txt')
269269 e.submit(shutil.copy, 'src2.txt', 'dest2.txt')
270270 e.submit(shutil.copy, 'src3.txt', 'dest3.txt')
@@ -767,8 +767,11 @@ functools
767767
768768 >>> get_phone_number.cache_clear()
769769
770- (Contributed by Raymond Hettinger and incorporating design ideas from
771- Jim Baker, Miki Tebeka, and Nick Coghlan.)
770+ (Contributed by Raymond Hettinger and incorporating design ideas from Jim
771+ Baker, Miki Tebeka, and Nick Coghlan; see `recipe 498245
772+ <http://code.activestate.com/recipes/498245> `_\, `recipe 577479
773+ <http://code.activestate.com/recipes/577479> `_\, :issue: `10586 `, and
774+ :issue: `10593 `.)
772775
773776* The :func: `functools.wraps ` decorator now adds a :attr: `__wrapped__ ` attribute
774777 pointing to the original callable function. This allows wrapped functions to
0 commit comments