# HG changeset patch # User Pierre-Yves David # Date 2023-08-29 22:45:10 # Node ID f6cb926d4189b3f0f8e30f0a74fdecf94d3ff921 # Parent 1339158a8a40a74d71d2dc7ba4f2fcc5fbd843a4 smartset: set attribute using sysstr instead of bytes We do not needs bytes here. diff --git a/mercurial/smartset.py b/mercurial/smartset.py --- a/mercurial/smartset.py +++ b/mercurial/smartset.py @@ -359,10 +359,10 @@ class baseset(abstractsmartset): 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