mirror of https://github.com/astral-sh/ruff
[`pylint`] Fix docs example that produced different output (`PLW0603`) (#18216)
This commit is contained in:
parent
bdf488462a
commit
6df10c638e
|
|
@ -31,8 +31,9 @@ use crate::checkers::ast::Checker;
|
|||
///
|
||||
///
|
||||
/// def foo():
|
||||
/// var = 10
|
||||
/// print(var)
|
||||
/// return 10
|
||||
/// return var
|
||||
///
|
||||
///
|
||||
/// var = foo()
|
||||
|
|
|
|||
Loading…
Reference in New Issue