testing/clusterfuzz/common/fuzzy_types.py
def Delete(self, location=None, amount=None):
    """Delete amount elements starting at location."""
    if location is None:
      location = random.randint(0, max(0, len(self) - 1))
    if amount is None:
      amount = utils.RandomLowInteger(min(1, len(self)), len(self) - location)
    del self[location:location+amount]
Delete amount elements starting at location.
Delete amount elements starting at location.
Delete amount elements starting at location .
def Delete(self, location=None, amount=None):
    if location is None:
      location = random.randint(0, max(0, len(self) - 1))
    if amount is None:
      amount = utils.RandomLowInteger(min(1, len(self)), len(self) - location)
    del self[location:location+amount]
def Delete ( self , location = None , amount = None ) : if location is None : location = random . randint ( 0 , max ( 0 , len ( self ) - 1 ) ) if amount is None : amount = utils . RandomLowInteger ( min ( 1 , len ( self ) ) , len ( self ) - location ) del self [ location : location + amount ]
Delete amount elements starting at location.
Delete amount elements starting at location .
"""Delete amount elements starting at location."""
self
location
amount