Nevermind, just checked myself, you get a new instance on every call:

```
>>> def f():
...  def g():
...   pass
...  return g
... 
>>> x = f()
>>> y = f()
>>> id(x)
4454835216
>>> id(y)
4454836296
```