| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0748500 commit 07e18d7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -235,7 +235,7 @@ def getargspec(func, f): | |||
| 235 | 235 | func_name = None | |
| 236 | 236 | ||
| 237 | 237 | try: | |
| 238 | - is_bound_method = ((inspect.ismethod(f) and f.im_self is not None) | ||
| 238 | + is_bound_method = ((inspect.ismethod(f) and f.__self__ is not None) | ||
| 239 | 239 | or (func_name == '__init__' and not | |
| 240 | 240 | func.endswith('.__init__'))) | |
| 241 | 241 | except: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments