mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 08:04:26 -05:00
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user