Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.inspect_fodder2 Namespace Reference

Classes

class  cls82

Functions

def wrap
def replace
def wrapped
def gone
def onelinefunc
def manyargs
def twolinefunc
def setfunc
def with_comment
def func69
def func77
def func88
def f
def keyworded
def annotated
def keyword_only_arg

Variables

 oll = lambdam:m
 tll = lambdag:gand\
 tlli = lambdad:dand\
list a
list multiline_sig
int extra74 = 74
string extra79 = 'stop'
string extra85 = 'stop'
tuple method_in_dynamic_class = f()

Function Documentation

Definition at line 106 of file inspect_fodder2.py.

00106 
00107 def annotated(arg1: list):
00108     pass
00109 
#line 109

Definition at line 93 of file inspect_fodder2.py.

00093 
00094 def f():
00095     class X:
00096         def g():
00097             "doc"
00098             return 42
    return X

Definition at line 69 of file inspect_fodder2.py.

00069 
00070 def func69():
00071     class cls70:
00072         def func71():
00073             pass
    return cls70

Definition at line 77 of file inspect_fodder2.py.

00077 
00078 def func77(): pass
(extra78, stuff78) = 'xy'

Definition at line 88 of file inspect_fodder2.py.

00088 
00089 def func88():
00090     # comment
00091     return 90
00092 
# line 92

Definition at line 21 of file inspect_fodder2.py.

00021 
00022 def gone():
00023     pass
00024 
# line 24

Definition at line 110 of file inspect_fodder2.py.

00110 
00111 def keyword_only_arg(*, arg):
00112     pass
def test.inspect_fodder2.keyworded (   arg1,
  arg2 = 1 
)

Definition at line 102 of file inspect_fodder2.py.

00102 
00103 def keyworded(*arg1, arg2=1):
00104     pass
00105 
#line 105
def test.inspect_fodder2.manyargs (   arg1,
  arg2,
  arg3,
  arg4 
)

Definition at line 41 of file inspect_fodder2.py.

00041 
00042 arg3, arg4): pass
00043 
# line 43

Here is the caller graph for this function:

Definition at line 37 of file inspect_fodder2.py.

00037 
00038 def onelinefunc(): pass
00039 
# line 39

Here is the call graph for this function:

Definition at line 8 of file inspect_fodder2.py.

00008 
00009 def replace(func):
00010     def insteadfunc():
00011         print('hello')
00012     return insteadfunc
00013 
00014 # line 13
00015 @wrap()
@wrap(wrap)

Here is the call graph for this function:

Definition at line 53 of file inspect_fodder2.py.

00053 
00054 def setfunc(func):
00055     globals()["anonymous"] = func
00056 setfunc(lambda x, y: x*y)
00057 
# line 57

Here is the caller graph for this function:

Definition at line 44 of file inspect_fodder2.py.

00044 
00045 def twolinefunc(m): return m and \
00046 m
00047 
# line 47

Definition at line 58 of file inspect_fodder2.py.

00058 
00059 def with_comment():  # hello
00060     world
00061 
# line 61
def test.inspect_fodder2.wrap (   foo = None)

Definition at line 2 of file inspect_fodder2.py.

00002 
00003 def wrap(foo=None):
00004     def wrapper(func):
00005         return func
00006     return wrapper
00007 
# line 7

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 16 of file inspect_fodder2.py.

00016 
00017 def wrapped():
00018     pass
00019 
00020 # line 19
@replace

Here is the caller graph for this function:


Variable Documentation

Initial value:
00001 [None,
00002      lambda x: x,
00003      None]

Definition at line 48 of file inspect_fodder2.py.

Definition at line 74 of file inspect_fodder2.py.

Definition at line 79 of file inspect_fodder2.py.

Definition at line 85 of file inspect_fodder2.py.

Definition at line 99 of file inspect_fodder2.py.

Initial value:
00001 [
00002     lambda x, \
00003             y: x+y,
00004     None,
00005     ]

Definition at line 62 of file inspect_fodder2.py.

Definition at line 25 of file inspect_fodder2.py.

test.inspect_fodder2.tll = lambdag:gand\

Definition at line 28 of file inspect_fodder2.py.

test.inspect_fodder2.tlli = lambdad:dand\

Definition at line 33 of file inspect_fodder2.py.