(self)
return len(self._current_sample)
Return the number of WMI Objects in the current sample.
Return the number of WMI Objects in the current sample.
Return the number of WMI Objects in the current sample .
def __len__(self):
        """
        Return the number of WMI Objects in the current sample.
        """
        # No data is returned while sampling
        if self._sampling:
            raise TypeError(u"Sampling `WMISampler` object has no len()")

        return len(self._current_sample)
def __len__ ( self ) : # No data is returned while sampling if self . _sampling : raise TypeError ( u"Sampling `WMISampler` object has no len()" ) return len ( self . _current_sample )