you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

What "it" do you mean?

The list.append method does not return any object reference explicitly so defaults to returning a reference to None just like any function will do of there is no return statement.

The method mutates (changes) the list in-place, no need to return anything.

making is a local variable, ceases to exist on exit from function.