Click on nightmare.py to get source.
def simple(x, y=[]):
    y.append(x)
    return y

print(simple.__defaults__)
print(simple(1))
print(simple(2))
print(simple.__defaults__)