make complex more complex
This commit is contained in:
parent
95af304eb3
commit
e3998f4cff
1 changed files with 4 additions and 1 deletions
|
@ -26,5 +26,8 @@ def rewrite_complex_function(x: int, y: int) -> int:
|
|||
|
||||
|
||||
def deprecated_complex_function(x: int, y: int) -> int:
|
||||
def foo() -> int:
|
||||
return int(True)
|
||||
|
||||
logger.info("deprecated complex")
|
||||
return x * y
|
||||
return x * y * foo()
|
||||
|
|
Loading…
Reference in a new issue