Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME'. For example, for the line markerfacecolor property, which has an alias, return 'markerfacecolor or mfc' and for the transform property, which does not, return 'transform'.
(self, s)
| 1630 | return ds.startswith('Alias for ') |
| 1631 | |
| 1632 | def aliased_name(self, s): |
| 1633 | """ |
| 1634 | Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME'. |
| 1635 | |
| 1636 | For example, for the line markerfacecolor property, which has an |
| 1637 | alias, return 'markerfacecolor or mfc' and for the transform |
| 1638 | property, which does not, return 'transform'. |
| 1639 | """ |
| 1640 | aliases = ''.join(' or %s' % x for x in sorted(self.aliasd.get(s, []))) |
| 1641 | return s + aliases |
| 1642 | |
| 1643 | _NOT_LINKABLE = { |
| 1644 | # A set of property setter methods that are not available in our |
no test coverage detected