docs: def dump(result):
          """Dump result into a string, useful for debugging."""
          if isinstance(result, dict):
              # Result is a search result.
              statuses = result['results']
          else:
              # Result is a lookup result.
              statuses = result
          status_str_list = []
          for status in statuses:
              status_str_list.append(textwrap.dedent(u"""
                  @{screen_name} -- https://twitter.com/{screen_name}
                  {text}
              """).strip().format(
                  screen_name=status['actor']['preferredUsername'],
                  text=status['body']))
          return u'\n\n'.join(status_str_list)