From 620f2c6dfd1c47844769fbd54c927f542a8c6839 Mon Sep 17 00:00:00 2001 From: dineshkumar2509 <54076851+dineshkumar2509@users.noreply.github.com> Date: Fri, 2 Oct 2020 10:52:08 +0530 Subject: [PATCH] Update condition.py --- threads/condition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threads/condition.py b/threads/condition.py index d761051..50bac66 100644 --- a/threads/condition.py +++ b/threads/condition.py @@ -70,7 +70,7 @@ def run(self): self.condition.release() def main(): - integers = [] + integers = list() condition = threading.Condition() t1 = Producer(integers, condition) t2 = Consumer(integers, condition)