summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-04-19 02:56:53 (GMT)
committerGitHub <noreply@github.com>2022-04-19 02:56:53 (GMT)
commit7fbc7f61280d301c0ac88b65ee8747fcf19f01f8 (patch)
treef28c4d9e1ce47eddd7880bd623523b6b2551790a /Lib/idlelib
parent014eb7fd0242963ac475abb3c1fb9be0714b203f (diff)
downloadcpython-7fbc7f61280d301c0ac88b65ee8747fcf19f01f8.zip
cpython-7fbc7f61280d301c0ac88b65ee8747fcf19f01f8.tar.gz
cpython-7fbc7f61280d301c0ac88b65ee8747fcf19f01f8.tar.bz2
gh-91098: Use Argument Clinic for Object/classobject.c to fix docstrings (#31711)
Closes GH-91098. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_calltip.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_calltip.py b/Lib/idlelib/idle_test/test_calltip.py
index e8d2bd1..1ccb63b 100644
--- a/Lib/idlelib/idle_test/test_calltip.py
+++ b/Lib/idlelib/idle_test/test_calltip.py
@@ -77,7 +77,9 @@ class Get_argspecTest(unittest.TestCase):
tiptest(List.append, '(self, object, /)' + append_doc)
tiptest([].append, '(object, /)' + append_doc)
- tiptest(types.MethodType, "method(function, instance)")
+ tiptest(types.MethodType,
+ '(function, instance, /)\n'
+ 'Create a bound instance method object.')
tiptest(SB(), default_tip)
p = re.compile('')