blob: 19da352185d8ac5a8e55ddf8fab001d987f2e89d [file] [log] [blame]
Johannes Gijsberscb9015d2004-12-12 16:20:22 +00001# line 1
2def wrap(foo=None):
3 def wrapper(func):
4 return func
5 return wrapper
6
7# line 7
8def replace(func):
9 def insteadfunc():
10 print 'hello'
11 return insteadfunc
12
13# line 13
14@wrap()
15@wrap(wrap)
16def wrapped():
17 pass
18
19# line 19
20@replace
21def gone():
22 pass