import string


def _default_devour(text):
  """
  The default devour function (strips out whitespace).
  """
  i = 0
  while i < len(text) and text[i] in string.whitespace:
    i += 1
  return text[i:]