Files
typeshed/stdlib
Jelle Zijlstra 1f000d2881 Improve type for setdefault() (#6941)
- With one argument, it may return None
- With two arguments, it returns the default's type or the dict's value type.
- Also remove incorrect `= ...` from `pop()`. The one-argument case has its own overload.

Context: https://github.com/python/typing/discussions/1033#discussioncomment-1986359

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2022-01-19 21:44:15 -08:00
..
2022-01-08 16:09:29 +01:00
2022-01-16 14:29:13 -08:00
2021-12-22 20:18:19 -08:00
2022-01-08 16:09:29 +01:00
2022-01-16 14:29:13 -08:00
2021-05-06 18:57:33 +03:00
2022-01-08 16:09:29 +01:00
2021-12-22 20:18:19 -08:00
2022-01-08 20:57:03 +02:00
2022-01-13 17:05:20 +02:00
2022-01-08 16:09:29 +01:00
2022-01-08 16:09:29 +01:00
2022-01-15 15:30:58 -08:00
2021-12-10 21:48:46 -08:00
2022-01-08 16:09:29 +01:00
2022-01-18 06:56:24 -08:00
2022-01-14 13:36:48 +01:00
2021-12-22 20:18:19 -08:00
2022-01-05 17:58:03 +02:00
2021-04-14 19:14:07 -07:00
2022-01-04 11:12:27 +02:00
2022-01-15 15:20:08 -08:00
2021-12-22 20:18:19 -08:00
2022-01-08 16:09:29 +01:00
2021-12-22 20:18:19 -08:00
2021-12-22 20:18:19 -08:00
2022-01-08 16:09:29 +01:00
2022-01-01 14:19:05 +02:00
2021-11-27 23:11:53 -08:00
2021-12-22 20:18:19 -08:00