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

improve docstring of 'evalfile' and add doctest #47130

Merged
merged 11 commits into from
Oct 21, 2022
Merged

improve docstring of 'evalfile' and add doctest #47130

merged 11 commits into from
Oct 21, 2022

Conversation

wolthom
Copy link
Contributor

@wolthom wolthom commented Oct 11, 2022

This PR addresses the incomplete documentation of the evalfile method mentioned in #45559.

It explains the usage in more detail and adds a doctest example that users can copy&paste into a REPL session to experiment.

@wolthom
Copy link
Contributor Author

wolthom commented Oct 11, 2022

@kshyatt As mentioned earlier, here's the PR for an open issue regarding the documentation.

To have a self-contained example (that also functions as a doctest), I ended up using mktemp. I hope this does not make the example too confusing.

@fredrikekre fredrikekre merged commit b3ebc0a into JuliaLang:master Oct 21, 2022
@wolthom
Copy link
Contributor Author

wolthom commented Oct 21, 2022

Thank you for the support and suggestions @fredrikekre !

@wolthom wolthom deleted the wt/evalfile_docs branch October 25, 2022 18:59
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.

2 participants