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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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