Comment

Comment by dnautics

Here's a classic:

    def a(arg = []):
      return arg
    
    a([1])        #==> [1]
    arr = a()     #==> []
    arr.append(1)
    a()           #==> [1]
parent dnautics 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton