Data Structures | |
class | diclookup.Lookup |
a dictionary which can lookup value by key, or keys by value More... | |
Functions | |
def | diclookup.find_key |
return the key of dictionary dic given the value More... | |
def | diclookup.find_value |
return the value of dictionary dic given the key More... | |
Smart dictionnary with key/value lookup
def diclookup.find_key | ( | dic, | |
val | |||
) |
return the key of dictionary dic given the value
def diclookup.find_value | ( | dic, | |
key | |||
) |
return the value of dictionary dic given the key