Skip to content

Commit f95568d

Browse files
alonbldpgeorge
authored andcommitted
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 913498e commit f95568d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

python-stdlib/abc/abc.py

Lines changed: 4 additions & 0 deletions
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

python-stdlib/abc/manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
metadata(version="0.0.1")
1+
metadata(version="0.1.0")
22

33
module("abc.py")

0 commit comments

Comments
 (0)