introduce search interface

This commit is contained in:
www
2020-12-07 09:57:30 +00:00
parent 894a99cdef
commit ad36db964e
21 changed files with 32004 additions and 52 deletions

6
testgetattr.py Normal file
View File

@@ -0,0 +1,6 @@
class A():
def b(self):
return "Hello"
a=A()
print(callable(getattr(a,"b")))
print(getattr(a, "b")())