You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #25, this library currently allows writing multiple memory locations by using the syntax fram[0] = [0,1,2,3] which behaves inconsistently from other Python usage, where this would attempt to store [0,1,2,3] in position [0] of fram. This should be changed to something more like fram[0:3] = [0,1,2,3] to use slice notation.
The built in bytearray provides a good reference example:
As mentioned in #25, this library currently allows writing multiple memory locations by using the syntax
fram[0] = [0,1,2,3]
which behaves inconsistently from other Python usage, where this would attempt to store[0,1,2,3]
in position[0]
offram
. This should be changed to something more likefram[0:3] = [0,1,2,3]
to use slice notation.The built in
bytearray
provides a good reference example:The text was updated successfully, but these errors were encountered: