def __init__(self, freqdist, bins=None):
        assert bins is None or bins > freqdist.B(),\
               'bins parameter must not be less than %d=freqdist.B()+1' % (freqdist.B()+1)
        if bins is None:
            bins = freqdist.B() + 1
        self._freqdist = freqdist
        self._bins = bins
        r, nr = self._r_Nr()
        self.find_best_fit(r, nr)
        self._switch(r, nr)
        self._renormalize(r, nr)
Gets a list of virtual machine extension image versions.
dataset/ETHPy150Open nltk/nltk/nltk/probability.py/SimpleGoodTuringProbDist.__init__--crossover with--dataset/ETHPy150Open Azure/azure-sdk-for-python/azure-mgmt-compute/azure/mgmt/compute/operations/virtual_machine_extension_images_operations.py/VirtualMachineExtensionImagesOperations.list_versions