pyxmpp.xmppstringprep.LookupFunction

Package pyxmpp :: Module xmppstringprep :: Class LookupFunction |
[show private | hide private]
[frames | no frames]

## Class LookupFunction

Class for looking up RFC 3454 tables using function.

Method Summary
| ``__init__`(self, function)` Initialize `LookupFunction` object.

Instance Variable Summary
| `lookup`: the lookup function.

Method Details

### __init__(self, function) (Constructor) Initialize `LookupFunction` object. Parameters: `function` - function taking character code as input and returning `bool` value or the mapped for `code`.

Instance Variable Details

### lookup the lookup function.