docs: Correct collections-named-tuple example to use PascalCase assignment (#16884)

This commit is contained in:
Gene Parmesan Thomas 2025-06-20 09:30:46 -04:00 committed by GitHub
parent 0ef324b2dd
commit 234d248730
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: