Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make the implementation more debuggable
  • Loading branch information
johnslavik committed Feb 10, 2026
commit dd804d2ebe47cb7a39907fd1e6b66241f628e859
2 changes: 1 addition & 1 deletion Lib/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def __call__(self, /, *args, **kwargs):
if hasattr(method, "__get__"):
method = method.__get__(self._obj, self._cls)
if self._skip_bound_arg and isinstance(method, MethodType):
args = args[1:]
return method(*args[1:], **kwargs)
return method(*args, **kwargs)

def __getattr__(self, name):
Expand Down
Loading