mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-87864: Use correct function definition syntax in the docs (#103312)
This commit is contained in:
parent
55c99d97e1
commit
50b4b15984
4 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue