drone-micropython-raw 0.1.1

Bindings to MicroPython.
1
2
3
4
5
6
7
8
9
10
11
12
# check that we can use an instance of B in a method of A

class A:
    def store(a, b):
        a.value = b

class B:
    pass

b = B()
A.store(b, 1)
print(b.value)