Clarify special control flow parameters for PLR0917: too-many-positional (#11978)

This commit is contained in:
Gilles Peiffer
2024-06-23 17:16:09 +02:00
committed by GitHub
parent 375d2c87b2
commit 0c8b5eb17a

View File

@@ -18,8 +18,8 @@ use crate::checkers::ast::Checker;
/// readers than providing arguments by name.
///
/// Consider refactoring functions with many arguments into smaller functions
/// with fewer arguments, using objects to group related arguments, or
/// migrating to keyword-only arguments.
/// with fewer arguments, using objects to group related arguments, or migrating to
/// [keyword-only arguments](https://docs.python.org/3/tutorial/controlflow.html#special-parameters).
///
/// ## Example
/// ```python