Skip to content

chardet: UniversalDetector.feed accepts bytearray - #10107

Merged
AlexWaygood merged 1 commit into
python:mainfrom
JelleZijlstra:chardet
Apr 29, 2023
Merged

AlexWaygood merged 1 commit into
python:mainfrom
JelleZijlstra:chardet

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

Technically it accepts any buffer, but the inline type annotations
now say bytes | bytearray, so let's stick to that.

Part of #9006

Technically it accepts any buffer, but the inline type annotations
now say bytes | bytearray, so let's stick to that.

Part of python#9006
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood
AlexWaygood merged commit b9e9540 into python:main Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants