Skip to content

Commit

Permalink
Merge pull request #240 from mhsmith/micropython
Browse files Browse the repository at this point in the history
MicroPython compatibility
  • Loading branch information
freakboy3742 authored Dec 5, 2024
2 parents ca28d56 + 732bccd commit d67a58f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/240.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MicroPython compatibility
2 changes: 1 addition & 1 deletion src/travertino/declaration.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class ImmutableList:
def __init__(self, iterable):
self._data = [*iterable]
self._data = list(iterable)

def __getitem__(self, index):
return self._data[index]
Expand Down

0 comments on commit d67a58f

Please sign in to comment.