Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/guides/writing_stubs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,7 @@ reasons can include:

* Using :ref:`Any` as a type argument for a generic with invariant type variables
to say "any object of this type is allowed", e.g. ``Future[Any]``.
* Using the expression ``Callable[..., Any]`` to say "any callable".
* Using ``dict[str, Any]`` or ``Mapping[str, Any]`` when the value types
depend on the keys. But consider using :ref:`TypedDict` or
``dict[str, Incomplete]`` (temporarily) when the keys of the dictionary are
Expand Down
Loading