New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 'with' operations #281

Closed
derks opened this Issue Sep 29, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@derks
Member

derks commented Sep 29, 2014

For example:

with MyApp() as app:
    app.run()

The above would be equivalent to:

app = MyApp()
app.setup()
app.run()
app.close()

@derks derks added the stable/2.6.x label Sep 29, 2014

derks added a commit that referenced this issue Sep 30, 2014

@derks derks closed this Sep 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment