Пример #1
0
 def _wrapper(bifurcation_point):
     '''Simply pass arguments to wrapped function'''
     if not as_tree:
         bifurcation_point = tr.as_elements(bifurcation_point)
     return fun(bifurcation_point)
Пример #2
0
 def _wrapper(triplet):
     '''Simply pass arguments to wrapped function'''
     if not as_tree:
         triplet = tr.as_elements(triplet)
     return fun(triplet)
Пример #3
0
 def _wrapper(section):
     '''Simply pass arguments to wrapped function'''
     if not as_tree:
         section = tr.as_elements(section)
     return fun(section)
Пример #4
0
 def _wrapper(point):
     '''Simply pass arguments to wrapped function'''
     if not as_tree:
         point = tr.as_elements(point)
     return fun(point)