From 9b8109816c959c6290bd565f1ca90596beebc2cf Mon Sep 17 00:00:00 2001 From: vignansai Date: Tue, 3 Dec 2019 15:11:41 +0530 Subject: [PATCH] fixing typo from wap to map --- item_24_use_classmethod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/item_24_use_classmethod.py b/item_24_use_classmethod.py index b974673..108cc6b 100644 --- a/item_24_use_classmethod.py +++ b/item_24_use_classmethod.py @@ -100,7 +100,7 @@ def create_workers(input_list): def execute(workers): - threads = [threading.Thread(target=w.wap) for w in workers] + threads = [threading.Thread(target=w.map) for w in workers] for thread in threads: thread.start() for thread in threads: