Advertisement
pegorino

module_2

Jan 13th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. from module_1 import log
  2.  
  3.  
  4. @log()
  5. def func_z():
  6.     return 'result of f_1'
  7.  
  8.  
  9. def main():
  10.     r = func_z()
  11.     result = '\nresult of {} + {}'.format(main.__name__, r)
  12.     return result
  13.  
  14.  
  15.  
  16. if __name__ == '__main__':
  17.     print(main())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement