Skip to content

Commit ea9e1ee

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 <alon.barlev@gmail.com>
1 parent 68e0dfc commit ea9e1ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy