GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — Add type stubs for the ``wave`` stdlib module to align with the Python 3.15 beta changes. by mbyrnepr2 · Pull Request #15824 · python/typeshed Conversation
|
| __all__ += ["WAVE_FORMAT_PCM", "WAVE_FORMAT_IEEE_FLOAT", "WAVE_FORMAT_EXTENSIBLE"] | ||
|
|
||
| _File: TypeAlias = str | IO[bytes] | ||
| _File: TypeAlias = str | IO[bytes] | bytes | PathLike[Any] |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| _File: TypeAlias = str | IO[bytes] | bytes | PathLike[Any] | |
| _File: TypeAlias = StrOrBytesPath | IO[bytes] |
(StrOrBytesPath needs to be imported from _typeshed.)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Well that looks much more readable! Let's do it.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Sebastian Rittau <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I actually missed something really important.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Sebastian Rittau <[email protected]>
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.