I was recently looking to practice utilizing dictionaries in python and stumbled across these two pieces of information. Both pieces of code use empty dictionaries and (to me) are the same thing. I suppose I'm asking for the difference between these two and which one is more advantageous and/or more convenient.
#1
def foo(dct = {}):
#2
def foo(dct = None):
if dct == None:
dct = {}