diff options
author | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-11-29 12:19:52 +0100 |
---|---|---|
committer | Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> | 2023-12-04 13:06:12 +0100 |
commit | eeda9bf8522ba49cb542398d8e01046ea62e2aa2 (patch) | |
tree | 93718e5be6973ce558e48aafad7fc95463211e6b /sources/pyside-tools/deploy.pyproject | |
parent | a4d165c58b056f454ece59bb43b99acf6a390005 (diff) |
Typing: change mapping of bytes
- Types checkers like mypy and pyright have stopped impying bytes as
bytes | bytearray | memoryview
- This patch makes the implication explicit by using
typing.Union[bytes, bytearray, memoryview]
Pick-to: 6.5 6.6
Fixes: PYSIDE-2476
Change-Id: I711eb33cf1a25e6a4cfbed8fc3205363583d9fe9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside-tools/deploy.pyproject')
0 files changed, 0 insertions, 0 deletions