Mine
public text v1 · immutableimport profile
def foo(bar=None):
print("bar = %s" % bar)
profile.runctx("foo", globals(), {'bar': 'good'})
profile.run("foo('great')")import profile
def foo(bar=None):
print("bar = %s" % bar)
profile.runctx("foo", globals(), {'bar': 'good'})
profile.run("foo('great')")