From ea9e1ee77bb4f2adf8c7879ebe0848ef3f70c9bc Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Wed, 30 Apr 2025 16:54:02 +0300 Subject: [PATCH] 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 --- python-stdlib/abc/abc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-stdlib/abc/abc.py b/python-stdlib/abc/abc.py index 941be4f5e..c2c707f62 100644 --- a/python-stdlib/abc/abc.py +++ b/python-stdlib/abc/abc.py @@ -1,2 +1,6 @@ +class ABC: + pass + + def abstractmethod(f): return f