You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow bytes.replace's 'count' to be a keyword argument #147856
Allow the 'count' argument of bytes.replace to be a keyword to better describe its use.
Since Python 3.13, the 'count' of str.replace can be a keyword argument to make the code more verbose. However, the same is not true for the 'count' argument of bytes.replace, which is still enforced to be a positional argument:
Activity
gh-147856: Allow the 'count' argument of `bytes.replace()` to be a ke…
pythongh-147856: Allow the 'count' argument of `bytes.replace()` to b…
pythongh-147856: Allow the 'count' argument of `bytes.replace()` to b…