3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/test/pytriqs/wrap_test/aux.py

22 lines
427 B
Python
Raw Normal View History

def ffg( *args, **kw) :
""" my doc of ffg in module """
print "calling ffg, with :"
print args
print kw
#return [2*x for x in args], kw
return tuple(2*x for x in args), kw
def post1(res) :
return [res]
def pure_py1(self, i) :
"""
doc of pure_py1 : a nice funciton ,...
"""
i = i/2
print " I am in pure python method pure_py1 %s "%i
return ["pure_py1 return list"]