Skip to content

Commit

Permalink
Fix a typo in class.rs (#14877)
Browse files Browse the repository at this point in the history
(Accidentally introduced in #14801.)
  • Loading branch information
InSyncWithFoo authored Dec 9, 2024
1 parent aa6b812 commit 0f4350e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_python_semantic/src/analyze/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub fn is_metaclass(class_def: &ast::StmtClassDef, semantic: &SemanticModel) ->
}
}

/// Returns true if a class might generic.
/// Returns true if a class might be generic.
///
/// A class is considered generic if at least one of its direct bases
/// is subscripted with a `TypeVar`-like,
Expand Down

0 comments on commit 0f4350e

Please sign in to comment.