mirror of
https://github.com/python/cpython.git
synced 2025-09-07 01:11:26 +00:00
gh-87864: Use correct function definition syntax in the docs (GH-103312)
(cherry picked from commit 50b4b15984
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
07a2851edb
commit
e715da6db1
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