From 46a3046d8fcbe53b066dfff5c0dcb1dd0b091936 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Thu, 26 Sep 2024 22:45:48 -0700 Subject: [PATCH] remove sentence --- docs/spec/annotations.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/spec/annotations.rst b/docs/spec/annotations.rst index 5d5bd796..d5703726 100644 --- a/docs/spec/annotations.rst +++ b/docs/spec/annotations.rst @@ -355,9 +355,7 @@ In most cases the first argument of instance and class methods If the argument is not annotated, then for instance methods it is assumed to have the type of the containing class or :ref:`Self `, and for class methods the type object type corresponding to -the containing class object or ``type[Self]``. In a class method, the -precise type of the first argument cannot be represented using the -available type notation. +the containing class object or ``type[Self]``. In addition, the first argument in an instance method can be annotated with a type variable. In this case the return type may use the same