def __getattr__(*args):
    'Returns\n        1) the enable_spy static method if requested by name, or\n        2) the attribute from the active class (if active class was set), or\n        3) a function that swallows any arguments and does nothing.\n        '
    if (args[1] == 'enable_spy'):
        return Spy.enable_spy
    if Spy._actv_cls:
        return getattr(Spy._actv_cls, args[1])
    return (lambda *x: None)
Returns
1) the enable_spy static method if requested by name, or
2) the attribute from the active class (if active class was set), or
3) a function that swallows any arguments and does nothing.
def __getattr__(*args):
    'Returns\n        1) the enable_spy static method if requested by name, or\n        2) the attribute from the active class (if active class was set), or\n        3) a function that swallows any arguments and does nothing.\n        '
    if (args[1] == 'enable_spy'):
        return Spy.enable_spy
    if Spy._actv_cls:
        return getattr(Spy._actv_cls, args[1])
    return (lambda *x: None)