New in version 1.1.0.
Introspection
Info about a callable.
The results are cached for efficiency.
| Parameters: |
|
|---|---|
| Return type: | frozendict |
Ensures f accepts both *varargs and **kwargs.
If f does not support *args, it will be wrapped with a function which cuts away extra arguments in *args.
If f does not support *args, it will be wrapped with a function which discards the **kwargs.
| Parameters: |
|
|---|---|
| Returns: | A callable which is guaranteed to accept both *args and **kwargs. |
| Return type: | callable |
Returns a tuple of 5 objects: bool is_method, list args, string varargs, string varkw, list defaults
| Return type: | tuple |
|---|