Skip to content

Commit

Permalink
Remove '<anonymous>' from docstring (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
yosh-matsuda committed Apr 3, 2023
1 parent 445781f commit 40f4fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nb_func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ PyObject *nb_func_new(const void *in_) noexcept {
fc->flags |= (uint32_t) func_flags::has_args;

if (!has_name)
fc->name = "<anonymous>";
fc->name = "";

if (is_implicit) {
if (!(fc->flags & (uint32_t) func_flags::is_constructor))
Expand Down

0 comments on commit 40f4fff

Please sign in to comment.