[ty] Sync vendored typeshed stubs (#19461)

Co-authored-by: typeshedbot <>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
github-actions[bot] 2025-07-21 14:01:42 +01:00 committed by GitHub
parent c2380fa0e2
commit 3785e13231
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
597 changed files with 1393 additions and 2106 deletions

View file

@ -29,16 +29,16 @@ error[invalid-argument-type]: Argument to function `loads` is incorrect
| ^ Expected `str | bytes | bytearray`, found `Literal[5]`
|
info: Function defined here
--> stdlib/json/__init__.pyi:219:5
--> stdlib/json/__init__.pyi:218:5
|
217 | """
218 |
219 | def loads(
216 | """
217 |
218 | def loads(
| ^^^^^
220 | s: str | bytes | bytearray,
219 | s: str | bytes | bytearray,
| -------------------------- Parameter declared here
221 | *,
222 | cls: type[JSONDecoder] | None = None,
220 | *,
221 | cls: type[JSONDecoder] | None = None,
|
info: rule `invalid-argument-type` is enabled by default