| 
									
										
										
										
											2004-12-12 16:20:22 +00:00
										 |  |  | # line 1 | 
					
						
							|  |  |  | def wrap(foo=None): | 
					
						
							| 
									
										
										
										
											2005-01-07 16:01:32 +00:00
										 |  |  |     def wrapper(func): | 
					
						
							|  |  |  |         return func | 
					
						
							|  |  |  |     return wrapper | 
					
						
							| 
									
										
										
										
											2004-12-12 16:20:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 7 | 
					
						
							|  |  |  | def replace(func): | 
					
						
							| 
									
										
										
										
											2005-01-07 16:01:32 +00:00
										 |  |  |     def insteadfunc(): | 
					
						
							|  |  |  |         print 'hello' | 
					
						
							|  |  |  |     return insteadfunc | 
					
						
							| 
									
										
										
										
											2004-12-12 16:20:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 13 | 
					
						
							|  |  |  | @wrap() | 
					
						
							|  |  |  | @wrap(wrap) | 
					
						
							|  |  |  | def wrapped(): | 
					
						
							| 
									
										
										
										
											2005-01-07 16:01:32 +00:00
										 |  |  |     pass | 
					
						
							| 
									
										
										
										
											2004-12-12 16:20:22 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 19 | 
					
						
							|  |  |  | @replace | 
					
						
							|  |  |  | def gone(): | 
					
						
							| 
									
										
										
										
											2005-01-07 16:01:32 +00:00
										 |  |  |     pass | 
					
						
							| 
									
										
										
										
											2004-12-12 16:46:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 24 | 
					
						
							|  |  |  | oll = lambda m: m | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 27 | 
					
						
							|  |  |  | tll = lambda g: g and \ | 
					
						
							|  |  |  | g and \ | 
					
						
							|  |  |  | g | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 32 | 
					
						
							|  |  |  | tlli = lambda d: d and \ | 
					
						
							|  |  |  |     d | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 36 | 
					
						
							|  |  |  | def onelinefunc(): pass | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 39 | 
					
						
							|  |  |  | def manyargs(arg1, arg2, | 
					
						
							|  |  |  | arg3, arg4): pass | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 43 | 
					
						
							|  |  |  | def twolinefunc(m): return m and \ | 
					
						
							|  |  |  | m | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 47 | 
					
						
							|  |  |  | a = [None, | 
					
						
							|  |  |  |      lambda x: x, | 
					
						
							|  |  |  |      None] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 52 | 
					
						
							|  |  |  | def setfunc(func): | 
					
						
							|  |  |  |     globals()["anonymous"] = func | 
					
						
							|  |  |  | setfunc(lambda x, y: x*y) | 
					
						
							| 
									
										
										
										
											2005-03-12 16:37:11 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 57 | 
					
						
							|  |  |  | def with_comment():  # hello | 
					
						
							|  |  |  |     world | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 61 | 
					
						
							|  |  |  | multiline_sig = [ | 
					
						
							|  |  |  |     lambda (x, | 
					
						
							|  |  |  |             y): x+y, | 
					
						
							|  |  |  |     None, | 
					
						
							|  |  |  |     ] | 
					
						
							| 
									
										
										
										
											2005-09-25 11:45:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # line 68 | 
					
						
							|  |  |  | def func69(): | 
					
						
							|  |  |  |     class cls70: | 
					
						
							|  |  |  |         def func71(): | 
					
						
							|  |  |  |             pass | 
					
						
							|  |  |  |     return cls70 | 
					
						
							|  |  |  | extra74 = 74 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 76 | 
					
						
							|  |  |  | def func77(): pass | 
					
						
							|  |  |  | (extra78, stuff78) = 'xy' | 
					
						
							|  |  |  | extra79 = 'stop' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 81 | 
					
						
							|  |  |  | class cls82: | 
					
						
							|  |  |  |     def func83(): pass | 
					
						
							|  |  |  | (extra84, stuff84) = 'xy' | 
					
						
							|  |  |  | extra85 = 'stop' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # line 87 | 
					
						
							|  |  |  | def func88(): | 
					
						
							|  |  |  |     # comment | 
					
						
							|  |  |  |     return 90 |