Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 4, 2025
commit cf898daad0bfae50b0115edf9c2ebd18cb8f36c6
2 changes: 1 addition & 1 deletion docs/source/common_issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Without the annotation mypy can't always figure out the
precise type of ``a``.

.. code-block:: python

a = [] # error: Need type annotation for "a" (hint: "a: list[<type>] = ...")

You often need to specify the type when you assign an empty list or
Expand Down