method: magic.View.__matchkey__

*Not documented*
    def __matchkey__(self, key, subclasses):

origin: magic.View

where:

function source:

def __matchkey__(self, key, subclasses):
    if inspect.isclass(key):
        keys = inspect.getmro(key)
    else:
        keys = [key]
    for key in keys:
        result = [C for C in subclasses if key in C.__view__]
        if result:
            return result
    return []