From 05c18311f1762182715df7bdc347d2e789433b18 Mon Sep 17 00:00:00 2001 From: Noa Levi <275430404+lphuc2250gma@users.noreply.github.com> Date: Wed, 13 May 2026 16:18:28 +0000 Subject: [PATCH] docs: fix duplicated word in overload docs --- docs/source/more_types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/more_types.rst b/docs/source/more_types.rst index 1febdcac9920a..444753757aad9 100644 --- a/docs/source/more_types.rst +++ b/docs/source/more_types.rst @@ -573,7 +573,7 @@ implementation, then the body is not type checked. If you want to force mypy to check the body anyways, use the :option:`--check-untyped-defs ` flag (:ref:`more details here `). -The variants must also also be compatible with the implementation +The variants must also be compatible with the implementation type hints. In the ``MyList`` example, mypy will check that the parameter type ``int`` and the return type ``T`` are compatible with ``int | slice`` and ``T | Sequence`` for the