public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8
a = foo()
a.bar = 123 # default
with a:
a.bar = 13213
a.do_stuff()
with a:
a.bar = 5432
a.do_stuff()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.