micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# converting user instance to buffer
|
||||
class C:
|
||||
pass
|
||||
|
||||
c = C()
|
||||
try:
|
||||
d = bytes(c)
|
||||
except TypeError:
|
||||
print('TypeError')
|
Reference in New Issue
Block a user