Skip to content

Commit eccdc00

Browse files
committed
abc: add ABC base class
this trivial addition will allow less code differences between standard python classes and micropython code. Signed-off-by: Alon Bar-Lev <[email protected]>
1 parent 68e0dfc commit eccdc00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python-stdlib/abc/abc.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
class ABC:
2+
pass
3+
4+
15
def abstractmethod(f):
26
return f

0 commit comments

Comments
 (0)