Improve N803 example (#8714)
This commit is contained in:
@@ -24,13 +24,13 @@ use crate::settings::types::IdentifierPattern;
|
||||
///
|
||||
/// ## Example
|
||||
/// ```python
|
||||
/// def MY_FUNCTION():
|
||||
/// def my_function(A, myArg):
|
||||
/// pass
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
/// ```python
|
||||
/// def my_function():
|
||||
/// def my_function(a, my_arg):
|
||||
/// pass
|
||||
/// ```
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user