Skip to main content

%SYS.Python.ArrayTraits

Class %SYS.Python.ArrayTraits [ System = 4 ]

Implementation of Array traits for Python

Methods

"len"

ClassMethod "__len__"(self As %Collection.AbstractArray) As %Integer [ Internal ]

"getitem"

ClassMethod "__getitem__"(self As %Collection.AbstractArray, key As %Any) As %Any [ Internal ]

get

ClassMethod get(self As %Collection.AbstractArray, key As %Any, default As %Any) As %Any [ Internal ]

pop

ClassMethod pop(self As %Collection.AbstractArray, key As %Any, default As %Any = "") As %Any [ Internal ]

popitem

ClassMethod popitem(self As %Collection.AbstractArray) As %SYS.Python [ Internal ]

"contains"

ClassMethod "__contains__"(self As %Collection.AbstractArray, key As %Any) As %Boolean [ Internal ]

"setitem"

ClassMethod "__setitem__"(self As %Collection.AbstractArray, key As %Any, value As %Any) [ Internal ]

"delitem"

ClassMethod "__delitem__"(self As %Collection.AbstractArray, key As %Any) [ Internal ]

clear

ClassMethod clear(self As %Collection.AbstractArray) [ Internal ]

copy

ClassMethod copy(self As %Collection.AbstractArray) As %Collection.AbstractArray [ Internal ]

"iter"

ClassMethod "__iter__"(self As %Collection.AbstractArray) [ Internal ]

items

ClassMethod items(self As %Collection.AbstractArray) [ Internal ]

keys

ClassMethod keys(self As %Collection.AbstractArray) [ Internal ]

values

ClassMethod values(self As %Collection.AbstractArray) [ Internal ]