From fa09d8acffd9ace2236382b833b9ae4ab585c66d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:22:37 +0200 Subject: [PATCH] Spec: add TypeGuard reference to link from PEP 647 --- docs/spec/narrowing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/spec/narrowing.rst b/docs/spec/narrowing.rst index a30b91b13..3d6198c00 100644 --- a/docs/spec/narrowing.rst +++ b/docs/spec/narrowing.rst @@ -1,9 +1,13 @@ +.. _`type-narrowing`: + Type narrowing ============== Type checkers should narrow the types of expressions in certain contexts. This behavior is currently largely unspecified. +.. _`typeguard`: + TypeGuard ---------