Skip to content

Commit

Permalink
remove sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 27, 2024
1 parent 8719e63 commit 46a3046
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/spec/annotations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<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
Expand Down

0 comments on commit 46a3046

Please sign in to comment.