--- a/mercurial/pathutil.py Mon Feb 21 13:03:43 2022 -0700
+++ b/mercurial/pathutil.py Mon Feb 21 13:08:28 2022 -0700
@@ -31,7 +31,7 @@
return encoding.hfsignoreclean(s.lower())
-class pathauditor(object):
+class pathauditor:
"""ensure that a filesystem path contains no banned components.
the following properties of a path are checked:
@@ -314,7 +314,7 @@
yield b''
-class dirs(object):
+class dirs:
'''a multiset of directory names from a set of file paths'''
def __init__(self, map, only_tracked=False):