class_docstr: Utility class for collections. Bundles up the logic we use for "should I
  keep drawing more values?" and handles starting and stopping examples in
  the right place.
  
  Intended usage is something like:
  
  elements = many(data, ...)
  while elements.more():
      add_stuff_to_result()
class_docstr_tok: ["Utility","class","for","collections",".","Bundles","up","the","logic","we","use","for","``","should","I","keep","drawing","more","values","?","''","and","handles","starting","and","stopping","examples","in","the","right","place",".","Intended","usage","is","something","like",":","elements","=","many","(","data",",","...",")","while","elements.more","(",")",":","add_stuff_to_result","(",")"]
docstr: Reject the last example (i.e. don't count it towards our budget of
  elements because it's not going to go in the final collection).
docstr_tok: ["Reject","the","last","example","(","i.e",".","do","n't","count","it","towards","our","budget","of","elements","because","it","'s","not","going","to","go","in","the","final","collection",")","."]
code: def reject(self):
      """Reject the last example (i.e. don't count it towards our budget of
      elements because it's not going to go in the final collection)."""
      assert self.count > 0
      self.count -= 1
      self.rejections += 1
      self.rejected = True
      # We set a minimum number of rejections before we give up to avoid
      # failing too fast when we reject the first draw.
      if self.rejections > max(3, 2 * self.count):
          if self.count < self.min_size:
              self.data.mark_invalid()
          else:
              self.force_stop = True
  
imports: from __future__ import absolute_import, division, print_function
  import enum
  import hashlib
  import heapq
  import sys
  from collections import OrderedDict
  from fractions import Fraction
  from hypothesis.errors import InvalidArgument
  from hypothesis.internal.compat import abc, bit_length, floor, hrange, int_from_bytes, qualname, str_to_bytes
  from hypothesis.internal.floats import int_to_float
label_desc: Use image node_id 3 for calling the many obj's underlying member method code with example usage: obj.reject() without return types