Hacker News new | ask | show | jobs
by specproc 1090 days ago
Some odd Python "class" syntax in there.

  ## Python class called Car
  def Car(make, model, year):
    """This function creates a new car object"""
    car = {"make": make, "model": model, "year": year}
    return car