smartset: set attribute using sysstr instead of bytes
We do not needs bytes here.
--- a/mercurial/smartset.py Wed Aug 30 11:53:13 2023 +0200
+++ b/mercurial/smartset.py Wed Aug 30 00:45:10 2023 +0200
@@ -359,10 +359,10 @@
return s
def __and__(self, other):
- return self._fastsetop(other, b'__and__')
+ return self._fastsetop(other, '__and__')
def __sub__(self, other):
- return self._fastsetop(other, b'__sub__')
+ return self._fastsetop(other, '__sub__')
def _slice(self, start, stop):
# creating new list should be generally cheaper than iterating items