pyebnf/primitive.py
def repetition(extractor, bounds, *, ignore_whitespace=False):
  """Returns a partial of _get_repetition that accepts only a text argument."""
  return partial(_get_repetition, extractor, bounds=bounds, ignore_whitespace=ignore_whitespace)
def repetition(extractor, bounds, *, ignore_whitespace=False):
  """Returns a partial of _get_repetition that accepts only a text argument."""
  return partial(_get_repetition, extractor, bounds=bounds, ignore_whitespace=ignore_whitespace)
Returns a partial of _get_repetition that accepts only a text argument.