Hunter Hogan
c6b7c0b144
[_operator] Type add and sub ( #15601 )
2026-04-05 16:02:13 +02:00
Hunter Hogan
4edae94984
[_operator] Type mod ( #15577 )
...
Add `Supports(R)Mod` protocols to `_typeshed` module.
2026-04-05 15:19:57 +02:00
Hunter Hogan
a1c4ca3d8b
[resampy] Add stubs for resampy 0.4.3 ( #15341 )
2026-03-09 14:18:08 +01:00
Hunter Hogan
ef3115e7d0
complete networkx/digraph.pyi addresses #14499 follows #14509 ( #14569 )
2025-08-15 10:51:09 +02:00
Hunter Hogan
4df58d8079
Complete networkx/graph.pyi. #14499 ( #14509 )
2025-08-08 11:52:58 +02:00
Hunter Hogan
1880490289
Change ast.MatchSingleton.value from Literal[True, False] to bool ( #14400 )
...
This is the only annotation in typeshed that uses `Literal[True, False]`. The most similar annotations are `Literal[True, 1]`. 371 annotations are `bool | None`.
2025-07-11 15:55:46 -07:00
Hunter Hogan
4c3560d3a9
add ast.Num.n as alias for ast.Num.value for backwards compatibility. ( #14355 )
2025-07-07 13:08:48 +02:00
Hunter Hogan
2f198bcfee
Fix return type annotations for ast.parse ( #14369 )
2025-07-04 15:34:22 -07:00
Hunter Hogan
d0f9f40e32
ast: Remove 3 TypeAlias. Fix identifier collision. ( #14319 )
2025-06-22 06:42:03 -07:00
Hunter Hogan
ca543bf390
Add default value to ast.MatchStar.name ( #14298 )
2025-06-17 21:03:16 -07:00
Hunter Hogan
cb37f1d7fb
Update ast.alias _attributes for Python 3.9 ( #14103 )
2025-05-19 18:44:10 -07:00
Hunter Hogan
cd98102c6c
remove _Identifier: typing_extensions.TypeAlias = str ( #13954 ) ( #13964 )
2025-05-08 20:40:29 -07:00
Hunter Hogan
a4d3f6f0de
Re-export ast.Match and ast.TypeAlias from _ast.pyi ( #13926 )
...
This matches what we do for all other AST nodes
2025-05-03 11:05:20 +01:00