micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# test complex interacting with special methods
|
||||
|
||||
|
||||
class A:
|
||||
def __add__(self, x):
|
||||
print("__add__")
|
||||
return 1
|
||||
|
||||
|
||||
print(A() + 1j)
|
Reference in New Issue
Block a user