mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00:00
[red-knot] remove redundant sentence in test (#16660)
Removes a redundant sentence I accidentally left in the test suite from in #16540 (my mistake).
This commit is contained in:
parent
78b5f0b165
commit
0340e23395
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
# Function return type
|
||||
|
||||
When a function's return type is annotated, all return statements are checked to ensure that the
|
||||
type of the returned value is assignable to the annotated return type. A `raise` is equivalent to a
|
||||
return of `Never`, which is assignable to any annotated return type.
|
||||
type of the returned value is assignable to the annotated return type.
|
||||
|
||||
## Basic examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue