Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
The current docstring ofcollections.abc.ByteString
is:
"""This unifies bytes and bytearray. XXX Should add all their methods. """
Let's do that last thing. This will be useful for typing code that accepts both bytes and bytearray, especially with my proposal inPEP-688 to make bytes no longer acceptable as a shortcut for bytearray in the type system.
cc@rhettinger forcollections.abc