| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ions.UserDict.get()`
|
Looks like a lot of the dict.get()-related errors in #10690 (comment) are actually "desirable" to some extent; mypy seems to be flagging a lot of issues in user code there. But the proposed changes to dict.get() were disruptive enough that they deserve to be considered in their own PR, so I've backed them out for now. |
Sorry, something went wrong.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
|
Thanks for the great review @Daverball! |
Sorry, something went wrong.
| def __ior__(self, other: SupportsKeysAndGetItem[_KT, _VT]) -> Self: ... | ||
| @overload | ||
| def __ior__(self, other: Iterable[tuple[_KT, _VT]]) -> Self: ... | ||
| if sys.version_info >= (3, 12): |
There was a problem hiding this comment.
I guess this is from python/cpython#17910
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
key and default can be passed as keyword arguments for all of these methods