Skip to content

Commit 9b4e31c

Browse files
authored
docs: fix duplicated word in overload docs (#21482)
Fixes a duplicated word in the overload implementation compatibility docs. No code changes. Co-authored-by: Noa Levi <275430404+lphuc2250gma@users.noreply.github.com>
1 parent d2b0234 commit 9b4e31c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/more_types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ implementation, then the body is not type checked. If you want to
573573
force mypy to check the body anyways, use the :option:`--check-untyped-defs <mypy --check-untyped-defs>`
574574
flag (:ref:`more details here <untyped-definitions-and-calls>`).
575575

576-
The variants must also also be compatible with the implementation
576+
The variants must also be compatible with the implementation
577577
type hints. In the ``MyList`` example, mypy will check that the
578578
parameter type ``int`` and the return type ``T`` are compatible with
579579
``int | slice`` and ``T | Sequence`` for the

0 commit comments

Comments
 (0)