parameters: (match_obj)
return_statement: return "{}'{}'{}".format(
          full[0:intern_idx], value, full[intern_idx + len(intern_fn) :]
      )
docstring: Replace the intern('unit') in `bucket()` with just the string
      literal, because the unit determines the return type of the column and the
      function would not be able to validate a unit if it was interned.
docstring_summary: Replace the intern('unit') in `bucket()` with just the string
      literal, because the unit determines the return type of the column and the
      function would not be able to validate a unit if it was interned.
docstring_tokens: Replace the intern ( unit ) in bucket () with just the string literal because the unit determines the return type of the column and the function would not be able to validate a unit if it was interned .
function: def _replace_interned_param(match_obj):
      """Replace the intern('unit') in `bucket()` with just the string
      literal, because the unit determines the return type of the column and the
      function would not be able to validate a unit if it was interned."""
      full = match_obj.group(0)
      intern_fn = match_obj.group(2)
      value = match_obj.group(3)
      intern_idx = full.index(intern_fn)
  
      # from fn(param, intern('string'), param, param...) to
      # fn (param, 'string', ...)
      return "{}'{}'{}".format(
          full[0:intern_idx], value, full[intern_idx + len(intern_fn) :]
      )
function_tokens: def _replace_interned_param ( match_obj ) : full = match_obj . group ( 0 ) intern_fn = match_obj . group ( 2 ) value = match_obj . group ( 3 ) intern_idx = full . index ( intern_fn ) # from fn(param, intern('string'), param, param...) to # fn (param, 'string', ...) return "{}'{}'{}" . format ( full [ 0 : intern_idx ] , value , full [ intern_idx + len ( intern_fn ) : ] )