Skip to content
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

Enable use as a context decorator #128

Merged
merged 6 commits into from Feb 14, 2022
Merged

Conversation

hirschalter
Copy link
Contributor

No description provided.

@gaborbernat gaborbernat changed the title Enable use as a context decorator (#127) Enable use as a context decorator Jan 3, 2022
docs/index.rst Outdated

@lock
def decorated():
open(file_path, "a").write("You're a decorated Jedi!")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just print the message and avoid the file open

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@gaborbernat gaborbernat merged commit 8947e72 into tox-dev:main Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants