mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Update abc.py from CPython v3.12.0
This commit is contained in:
1 parent
0fab6e6063
commit
99531514c8
1 file changed
+1
-1
Vendored
+1
-1
@@ -18,7 +18,7 @@ def abstractmethod(funcobj):
|
||||
|
||||
class C(metaclass=ABCMeta):
|
||||
@abstractmethod
|
||||
def my_abstract_method(self, ...):
|
||||
def my_abstract_method(self, arg1, arg2, argN):
|
||||
...
|
||||
"""
|
||||
funcobj.__isabstractmethod__ = True
|
||||
|
||||
Reference in new issue
Block a user