def page(title=None, pageid=None, auto_suggest=True, redirect=True, preload=False):

  if title is not None:
    if auto_suggest:
      results, suggestion = search(title, results=1, suggestion=True)
      try:
        title = suggestion or results[0]
      except IndexError:
        # if there is no suggestion or search results, the page doesn't exist
        raise PageError(title)
    return WikipediaPage(title, redirect=redirect, preload=preload)
  elif pageid is not None:
    return WikipediaPage(pageid=pageid, preload=preload)
  else:
    raise ValueError("Either a title or a pageid must be specified")
Get a WikipediaPage object for the page with title `title` or the pageid
dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py/page