Skip to content

Commit

Permalink
Ensure object.__init__ has no other argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Sep 14, 2024
1 parent b18c4a8 commit e23972a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, *args: Any, seed: float | None = None, **kwargs: Any) -> None
start the model. Always start with super().__init__() to initialize the
model object properly.
"""
super().__init__(*args, **kwargs)
super().__init__()
self.running = True
self.schedule = None
self.steps: int = 0
Expand Down

0 comments on commit e23972a

Please sign in to comment.