Skip to content

Commit

Permalink
Fix typo in comment (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstum authored Jan 6, 2025
1 parent eab5d0f commit 1947e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nanobind/nb_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1947e22

Please sign in to comment.