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:
Miss Islington (bot) 2023-04-11 07:19:33 -07:00 committed by GitHub
parent 07a2851edb
commit e715da6db1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -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