mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-10 18:36:31 +08:00
Update MaybeNone explanation location (#14630)
This commit is contained in:
@@ -54,7 +54,8 @@ Unused: TypeAlias = object # stable
|
||||
|
||||
# Marker for return types that include None, but where forcing the user to
|
||||
# check for None can be detrimental. Sometimes called "the Any trick". See
|
||||
# CONTRIBUTING.md for more information.
|
||||
# https://typing.python.org/en/latest/guides/writing_stubs.html#the-any-trick
|
||||
# for more information.
|
||||
MaybeNone: TypeAlias = Any # stable
|
||||
|
||||
# Used to mark arguments that default to a sentinel value. This prevents
|
||||
|
||||
Reference in New Issue
Block a user