diff -r 55d132525155 -r 642e31cb55f0 mercurial/extensions.py --- a/mercurial/extensions.py Mon Feb 21 13:03:43 2022 -0700 +++ b/mercurial/extensions.py Mon Feb 21 13:08:28 2022 -0700 @@ -621,7 +621,7 @@ raise AttributeError("type '%s' has no property '%s'" % (cls, propname)) -class wrappedfunction(object): +class wrappedfunction: '''context manager for temporarily wrapping a function''' def __init__(self, container, funcname, wrapper):