Skip to content

ugly repr() when using project layout with _my_ext_impl #730

Answered by wjakob
wojdyr asked this question in Q&A
Discussion options

You must be logged in to vote

You could import the base module with nb::module_::import_() and then pass that module to the various nb::class_<> and m.def calls.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wojdyr
Comment options

@wjakob
Comment options

@wojdyr
Comment options

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