micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Test calling non-special method inherited from native type
|
||||
|
||||
class mylist(list):
|
||||
pass
|
||||
|
||||
l = mylist([1, 2, 3])
|
||||
print(l)
|
||||
l.append(10)
|
||||
print(l)
|
Reference in New Issue
Block a user