Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from B import *
- def f1():
- ...
- def f2():
- ...
- ...
- import B.py
- def f1():
- return 1
- def f2():
- return 1
- def f3():
- return 1
- if __name__=="__main__":
- print temp.allF()
- import inspect, A
- def allF():
- return inspect.getmembers(A, inspect.isfunction)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement