Package pyamf :: Package adapters :: Module util

[hide private]
[frames] | no frames]

# Module util

source code

Useful helpers for adapters.

Since: 0.4

Functions | [hide private]

`list`

to_list(obj, encoder) Converts an arbitrary object `obj` to a list. | source code

`dict`

to_dict(obj, encoder) Converts an arbitrary object `obj` to a dict. | source code

set

to_set(obj, encoder) Converts an arbitrary object `obj` to a set. | source code

`tuple`

to_tuple(x, encoder) Converts an arbitrary object `obj` to a tuple. | source code

Imports: __builtin__, set