im using twilio-python and im following this tutorial: http://readthedocs.org/docs/twilio-python/en/latest/usage/twiml.html?highlight=nest
But when i try this:
from twilio import twiml
r = twiml.Response()
r.say("hello")
with r.gather(finishOnKey=4) as g:
g.say("world")
print str(r)
But i get this:
AttributeError: __exit__
Any idea?