mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:52:01 +00:00
parent
aa6b812a73
commit
0f4350e10e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
/// A class is considered generic if at least one of its direct bases
|
||||||
/// is subscripted with a `TypeVar`-like,
|
/// is subscripted with a `TypeVar`-like,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue