'Return a list of instances of the WMI class'

def instances(self):

    try:
        return [_wmi_object(instance, self) for instance in self.Instances_()]
    except pywintypes.com_error:
        handle_com_error()
