mewlo.mpacks.core.helpers.dictlist module

dictlist.py A combination dict and list that lets us use a hash and an ordered list

class mewlo.mpacks.core.helpers.dictlist.MDictList[source]

Bases: object

Dictionary-derived object with helper accessors.

append(key, val)[source]

Add a new item to our list and dictionary.

dumps(prefixstr, indent, flag_newlineseparates)[source]

Return a string (with newlines and indents) that displays some debugging useful information about the object.

get_itemlist()[source]

Return list of 2nd elements of each tuple in list.

get_tuplelist()[source]

Just return the list of tuples.

lookup(key, defaultval=None)[source]

Lookup value by key.

Table Of Contents

Previous topic

mewlo.mpacks.core.helpers.debugging module

Next topic

mewlo.mpacks.core.helpers.misc module

This Page