Skip to content

How do i turn a PyNone into a Bound<PyAny>? #4021

Discussion options

You must be logged in to vote

You could do:

py.None().into_bound(py)

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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