mirror of https://github.com/astral-sh/ruff
docs: Correct collections-named-tuple example to use PascalCase assignment (#16884)
This commit is contained in:
parent
0ef324b2dd
commit
234d248730
|
|
@ -24,7 +24,7 @@ use crate::checkers::ast::Checker;
|
|||
/// ```pyi
|
||||
/// from collections import namedtuple
|
||||
///
|
||||
/// person = namedtuple("Person", ["name", "age"])
|
||||
/// Person = namedtuple("Person", ["name", "age"])
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
|
|
|
|||
Loading…
Reference in New Issue