Skip to content

Commit

Permalink
Fix bug caused by typo in __setitem__
Browse files Browse the repository at this point in the history
  • Loading branch information
liukidar committed Jul 11, 2024
1 parent 4817e0f commit 81c814d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcax/core/_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __getitem__(self, __idx: Any) -> Any:

def __setitem__(self, __idx: Any, value: Any) -> Any:
"""Overloads __setitem__ to set the item at index __idx in the static value."""
return self._static_value.__setitem__(__idx, Any)
return self._static_value.__setitem__(__idx, value)

def __call__(self, *args, **kwds) -> Any:
"""Overloads __call__ to call the static value as if it were a function."""
Expand Down

0 comments on commit 81c814d

Please sign in to comment.