diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-26 13:50:50 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-10-26 13:50:50 (GMT) |
| commit | e46ef289e142982d7bd592faa7b0f85470364c01 (patch) | |
| tree | cda253e03788f7db0a7cdcd05662f66b4455e298 /src/python/stdlib/test/inspect_fodder2.py | |
| parent | d0d0d62bbcbb5c3417f8cba419c83bac192ea985 (diff) | |
| download | powder-e46ef289e142982d7bd592faa7b0f85470364c01.zip powder-e46ef289e142982d7bd592faa7b0f85470364c01.tar.gz | |
Remove Python console stuff
Diffstat (limited to 'src/python/stdlib/test/inspect_fodder2.py')
| -rw-r--r-- | src/python/stdlib/test/inspect_fodder2.py | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/src/python/stdlib/test/inspect_fodder2.py b/src/python/stdlib/test/inspect_fodder2.py deleted file mode 100644 index 3d978cf..0000000 --- a/src/python/stdlib/test/inspect_fodder2.py +++ /dev/null @@ -1,99 +0,0 @@ -# line 1 -def wrap(foo=None): - def wrapper(func): - return func - return wrapper - -# line 7 -def replace(func): - def insteadfunc(): - print 'hello' - return insteadfunc - -# line 13 -@wrap() -@wrap(wrap) -def wrapped(): - pass - -# line 19 -@replace -def gone(): - pass - -# 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) - -# line 57 -def with_comment(): # hello - world - -# line 61 -multiline_sig = [ - lambda (x, - y): x+y, - None, - ] - -# 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 - -# line 92 -def f(): - class X: - def g(): - "doc" - return 42 - return X -method_in_dynamic_class = f().g.im_func |
