summaryrefslogtreecommitdiff
path: root/core/object
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-06 02:52:27 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-08 16:36:01 +0300
commitbeceba85da9d53dad33c1a0d3f59c24e966b1c35 (patch)
tree437b0f04ab6bae2e6a79a5a5f7de0255c2164249 /core/object
parentc8cdc10902312e19fcdaa3a39755f783649d6c81 (diff)
Add checks for empty/unnamed arguments to make_rst.py
Diffstat (limited to 'core/object')
-rw-r--r--core/object/method_bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/method_bind.cpp b/core/object/method_bind.cpp
index a4474ea53b..0edc7a90c2 100644
--- a/core/object/method_bind.cpp
+++ b/core/object/method_bind.cpp
@@ -63,7 +63,7 @@ PropertyInfo MethodBind::get_argument_info(int p_argument) const {
PropertyInfo info = _gen_argument_type_info(p_argument);
#ifdef DEBUG_METHODS_ENABLED
- info.name = p_argument < arg_names.size() ? String(arg_names[p_argument]) : String("arg" + itos(p_argument));
+ info.name = p_argument < arg_names.size() ? String(arg_names[p_argument]) : String("_unnamed_arg" + itos(p_argument));
#endif
return info;
}