diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 94ab93d55cd..ffe05d10d69 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1437,9 +1437,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()); ADDFUNC0(DICTIONARY,ARRAY,Dictionary,values,varray()); diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4e867c9973c..e6a4f9646ac 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -10440,7 +10440,7 @@ This approximation makes straight segments between each point, then subdivides t - + Erase a dictionary key/value pair by key. @@ -10449,7 +10449,7 @@ This approximation makes straight segments between each point, then subdivides t - + Return true if the dictionary has a given key. @@ -10458,7 +10458,7 @@ This approximation makes straight segments between each point, then subdivides t - + Return true if the dictionary has all of the keys in the given array.