[ty] Sync vendored typeshed stubs (#19334)

Co-authored-by: typeshedbot <>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
github-actions[bot]
2025-07-14 17:34:09 +01:00
committed by GitHub
parent 059e90a98f
commit 4f60f0e925
649 changed files with 86333 additions and 8607 deletions

View File

@@ -29,17 +29,17 @@ 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:39:5
|
37 | **kwds: Any,
38 | ) -> None: ...
39 | def loads(
| ^^^^^
40 | s: str | bytes | bytearray,
| -------------------------- Parameter declared here
41 | *,
42 | cls: type[JSONDecoder] | None = None,
|
--> stdlib/json/__init__.pyi:221:5
|
219 | """
220 |
221 | def loads(
| ^^^^^
222 | s: str | bytes | bytearray,
| -------------------------- Parameter declared here
223 | *,
224 | cls: type[JSONDecoder] | None = None,
|
info: rule `invalid-argument-type` is enabled by default
```