mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:23:11 +00:00
Clarify special control flow parameters for PLR0917
: too-many-positional
(#11978)
This commit is contained in:
parent
375d2c87b2
commit
0c8b5eb17a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue