(klass, attr)
| 1684 | |
| 1685 | |
| 1686 | def _check_class(klass, attr): |
| 1687 | for entry in _static_getmro(klass): |
| 1688 | if _shadowed_dict(type(entry)) is _sentinel and attr in entry.__dict__: |
| 1689 | return entry.__dict__[attr] |
| 1690 | return _sentinel |
| 1691 | |
| 1692 | |
| 1693 | @functools.lru_cache() |
no test coverage detected