(object)
| 157 | |
| 158 | |
| 159 | def isgeneratorfunction(object): |
| 160 | while isinstance(object, functools.partial): |
| 161 | object = object.func |
| 162 | return inspect.isgeneratorfunction(object) |
| 163 | |
| 164 | |
| 165 | def get_function_name(func, default=None): |
no outgoing calls
no test coverage detected
searching dependent graphs…