method_has_no_args
Return True if a method only accepts 'self'.
def method_has_no_args(
meth: callable
) - > boolean
Return True if a method only accepts 'self'.
Parameters
| Name | Type | Description |
|---|---|---|
| meth | callable | The method or function object to inspect for parameter count |
Returns
| Type | Description |
|---|---|
boolean | True if the method has no arguments beyond the instance reference, False otherwise |