mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
docs: Correct collections-named-tuple example to use PascalCase assignment (#16884)
This commit is contained in:
parent
0ef324b2dd
commit
234d248730
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue