Oct-14-2023, 12:22 PM
(This post was last modified: Oct-14-2023, 03:44 PM by deanhystad.)
Maybe it's early morning brain...The line called out is:
self.new_queue = Queue("New", sim)and the error says:
Error:TypeError: Queue.__init__() takes from 1 to 2 positional arguments but 3 were given
and the declaration says:class Queue: def __init__(self, name: str, sim):
deanhystad write Oct-14-2023, 03:44 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.