diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 71268a775c5..c16259187e6 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1425,9 +1425,9 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl ADDFUNC0(DICTIONARY,INT,Dictionary,size,varray()); ADDFUNC0(DICTIONARY,BOOL,Dictionary,empty,varray()); ADDFUNC0(DICTIONARY,NIL,Dictionary,clear,varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"value",varray()); - ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"values",varray()); - ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"value",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has,NIL,"key",varray()); + ADDFUNC1(DICTIONARY,BOOL,Dictionary,has_all,ARRAY,"keys",varray()); + ADDFUNC1(DICTIONARY,NIL,Dictionary,erase,NIL,"key",varray()); ADDFUNC0(DICTIONARY,INT,Dictionary,hash,varray()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,keys,varray()); diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 2ab63d86bf7..7c4db1949ee 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -9947,7 +9947,7 @@ This approximation makes straight segments between each point, then subdivides t - + Erase a dictionary key/value pair by key. @@ -9956,7 +9956,7 @@ This approximation makes straight segments between each point, then subdivides t - + Return true if the dictionary has a given key. @@ -9965,7 +9965,7 @@ This approximation makes straight segments between each point, then subdivides t - +