(func)
| 104 | # getargspec was deprecated in 3.0 and removed in 3.11 |
| 105 | from inspect import getfullargspec |
| 106 | def getargspec(func): |
| 107 | spec = getfullargspec(func) |
| 108 | kwargs = makelist(spec[0]) + makelist(spec.kwonlyargs) |
| 109 | return kwargs, spec[1], spec[2], spec[3] |
| 110 | |
| 111 | basestring = str |
| 112 | unicode = str |
no test coverage detected
searching dependent graphs…