parameters: (baselen, deltas)
return_statement: return bytes(result)
docstring: 3.4 Bias adaptation
docstring_summary: 3.4 Bias adaptation
docstring_tokens: 3 . 4 Bias adaptation
function: def generate_integers(baselen, deltas):
      """3.4 Bias adaptation"""
      # Punycode parameters: initial bias = 72, damp = 700, skew = 38
      result = bytearray()
      bias = 72
      for points, delta in enumerate(deltas):
          s = generate_generalized_integer(delta, bias)
          result.extend(s)
          bias = adapt(delta, points==0, baselen+points+1)
      return bytes(result)
function_tokens: def generate_integers ( baselen , deltas ) : # Punycode parameters: initial bias = 72, damp = 700, skew = 38 result = bytearray ( ) bias = 72 for points , delta in enumerate ( deltas ) : s = generate_generalized_integer ( delta , bias ) result . extend ( s ) bias = adapt ( delta , points == 0 , baselen + points + 1 ) return bytes ( result )