parameters: (self, lst, prob, value)
docstring: Sprinkle *value* entries in list *lst* with likelihood *prob*.
docstring_summary: Sprinkle *value* entries in list *lst* with likelihood *prob*.
docstring_tokens: Sprinkle * value * entries in list * lst * with likelihood * prob * .
function: def sprinkle(self, lst, prob, value):
          """
          Sprinkle *value* entries in list *lst* with likelihood *prob*.
          """
          for i, p in enumerate(self.rnd.random_sample(size=len(lst))):
              if p < prob:
                  lst[i] = value
function_tokens: def sprinkle ( self , lst , prob , value ) : for i , p in enumerate ( self . rnd . random_sample ( size = len ( lst ) ) ) : if p < prob : lst [ i ] = value