def set_default_interface(etree):
 global types, ET, modules
 t = _get_etree_type(etree)
 _types = set((types or []))
 _types.update([t])
 types = tuple(_types)
 modules[t] = etree
 (old, ET) = (ET, etree)
 return old

def set_default_interface ( etree ) : global types , ET , modules t = _get_etree_type ( etree ) _types = set ( ( types or [ ] ) ) _types . update ( [ t ] ) types = tuple ( _types ) modules [ t ] = etree ( old , ET ) = ( ET , etree ) return old
sets the default interface that pyamf will use to deal with xml entities .