Show More
@@ -416,6 +416,8 b' class Inspector(Colorable):' | |||||
416 |
|
416 | |||
417 | If any exception is generated, None is returned instead and the |
|
417 | If any exception is generated, None is returned instead and the | |
418 | exception is suppressed.""" |
|
418 | exception is suppressed.""" | |
|
419 | if not callable(obj): | |||
|
420 | return None | |||
419 | try: |
|
421 | try: | |
420 | return _render_signature(signature(obj), oname) |
|
422 | return _render_signature(signature(obj), oname) | |
421 | except: |
|
423 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now