(class_name)
Iterate over all objects of the same class by its class name
Iterate over all objects of the same class by its class name
Iterate over all objects of the same class by its class name
def iter_all(class_name):
    """Iterate over all objects of the same class by its class name"""
    for cls, wdict in live_refs.items():
        if cls.__name__ == class_name:
            return wdict.keys()
def iter_all ( class_name ) : for cls , wdict in live_refs . items ( ) : if cls . __name__ == class_name : return wdict . keys ( )