[ create a new paste ] login | about

Link: http://codepad.org/tRVYGJo7    [ raw code | fork ]

Python, pasted on Sep 30:
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python

def mangle_foo(foo, bar):
  foo.append(bar)
  
def auto_mangle_foo(bar):
  mangle_foo(foo, bar)
  
def create_foo():
  global foo
  foo = [1,2,3]


Output:
No errors or program output.


Create a new paste based on this one


Comments: