you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 3 years ago (5 children)

Also me when I'm forced to write documentation for a Python function

def delete_first_of_list(the_list: list):
  • source
  • hideshow 5 child comments
  • [–] 5 points 3 years ago (1 child)

    Does this return a new list or modify the original? I would hope it returns a new one but I would know for sure if there was documentation.

  • source
  • parent
  • hideshow 1 child comment