Return whether the object *method* is an alias for another method.
(method)
| 1619 | @staticmethod |
| 1620 | @cache |
| 1621 | def is_alias(method): |
| 1622 | """ |
| 1623 | Return whether the object *method* is an alias for another method. |
| 1624 | """ |
| 1625 | |
| 1626 | ds = inspect.getdoc(method) |
| 1627 | if ds is None: |
| 1628 | return False |
| 1629 | |
| 1630 | return ds.startswith('Alias for ') |
| 1631 | |
| 1632 | def aliased_name(self, s): |
| 1633 | """ |
no outgoing calls
no test coverage detected