W3cubDocs

/Haxe Python

Dict<K, V>

package python

Available on python

Constructor

new()

Variables

read onlylength:Int

Methods

clear():Void

copy():Dict<K, V>

get(key:K, ?def:V):V

inlinegetSafe(key:K):V

inlinehasKey(k:K):Bool

items():DictView<Tuple2<K, V>>

inlineiter():NativeIterator<K>

inlineiterator():Iterator<V>

keys():DictView<K>

pop(key:K, ?def:V):V

popitem():Tuple2<K, V>

inlineremove(key:K):Void

inlineset(key:K, val:V):Void

setdefault(key:K, ?def:V):V

update(d:Dict<K, V>):Void

values():DictView<V>

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/Dict.html