Skip to content

Encapsulating eval_bound "Nicely" #4557

Answered by davidhewitt
jmcph4 asked this question in Questions
Discussion options

You must be logged in to vote

You can do

Python::with_gil(|py| py.eval_bound(code, None, None).unbind())

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jmcph4
Comment options

Answer selected by jmcph4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants