diff --git a/include/nanobind/nb_lib.h b/include/nanobind/nb_lib.h index 3541bce8..7ea1703c 100644 --- a/include/nanobind/nb_lib.h +++ b/include/nanobind/nb_lib.h @@ -305,7 +305,7 @@ NB_CORE PyObject *nb_type_put_unique_p(const std::type_info *cpp_type, void *value, cleanup_list *cleanup, bool cpp_delete) noexcept; -/// Try to reliquish ownership from Python object to a unique_ptr; +/// Try to relinquish ownership from Python object to a unique_ptr; /// return true if successful, false if not. (Failure is only /// possible if `cpp_delete` is true.) NB_CORE bool nb_type_relinquish_ownership(PyObject *o, bool cpp_delete) noexcept;