Test of a function mutating its unput
This commit is contained in:
parent
c26a95038e
commit
d47b91972c
1 changed files with 3 additions and 0 deletions
3
code_to_optimize/impure.py
Normal file
3
code_to_optimize/impure.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
def mutinator(l):
|
||||
l.append(0)
|
||||
return len(l)
|
||||
Loading…
Reference in a new issue