Rewrite the code snippet to Python 3.
def my_list(list):
  new_list = []
  for item in list:
    new_list.append(item * 2)
  return new_list
def my_list(list):
  new_list = []
  for item in list:
    new_list.append(item * 2)
  return new_list