[ty] Sync vendored typeshed stubs (#19368)

Co-authored-by: typeshedbot <>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
github-actions[bot] 2025-07-15 18:14:46 +00:00 committed by GitHub
parent c0d04f2d56
commit a0d4e1f854
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
469 changed files with 10781 additions and 23229 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:221:5
--> stdlib/json/__init__.pyi:219:5
|
219 | """
220 |
221 | def loads(
217 | """
218 |
219 | def loads(
| ^^^^^
222 | s: str | bytes | bytearray,
220 | s: str | bytes | bytearray,
| -------------------------- Parameter declared here
223 | *,
224 | cls: type[JSONDecoder] | None = None,
221 | *,
222 | cls: type[JSONDecoder] | None = None,
|
info: rule `invalid-argument-type` is enabled by default