Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deprecate and schedule removal of collections.abc.ByteString and typing.ByteString #91896

Closed
Assignees
JelleZijlstra
Labels
@JelleZijlstra

Description

@JelleZijlstra

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

Linked PRs

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp