Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/mypy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0100f142b523f53232aafac444d7df3abee889fd
Choose a base ref
..
head repository: python/mypy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c895d95aeb3ea88782da5111b15f327538d21bb2
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/source/common_issues.rst
2 changes: 1 addition & 1 deletion docs/source/common_issues.rst
Original file line number Diff line number Diff line change
@@ -881,7 +881,7 @@ of such functions as Generator (or AsyncGenerator when the function is async).

A common mistake is that we declared the return type of a function as
Generator (AsyncGenerator) but did not use the ``yield`` statement in the function.
``mypy`` will consider that the return type (normal type) of this function
``mypy`` will consider that the return type (no return, or normal types) of this function
does not meet the expectation (generator type).

.. code-block:: python