Skip to content

Commit

Permalink
Fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Jan 7, 2025
1 parent 25fcda8 commit 1fee970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/red_knot_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3251,9 +3251,9 @@ impl KnownFunction {
}
}

/// Whether or not a particular function takes type expression as arguments, i.e.
/// should the argument of a call like `f(int)` be interpreted as the type int (true)
/// or as the type of the expression `int`, i.e. Literal[int] (false).
/// Whether or not a particular function takes type expression as arguments, i.e. should
/// the argument of a call like `f(int)` be interpreted as the type int (true) or as the
/// type of the expression `int`, i.e. `Literal[int]` (false).
fn takes_type_expression_arguments(self) -> bool {
match self {
KnownFunction::IsEquivalentTo
Expand Down

0 comments on commit 1fee970

Please sign in to comment.