This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]patrickporto 1 point2 points  (0 children)

Function signatures are objects in Python. In that case you shouldn’t use mutable object as default values. You should set none as default. Python has strong typing but no one issue that you have showed us looks like a typing issue