config root man

Current Path : /usr/local/lib/python2.5/xml/dom/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/xml/dom/domreg.pyc

³ò
h”Rc@s\dZddkThdd<dd<ZhZd„Zd„Zddd	„Zd
„ZdS(
s´Registration facilities for DOM. This module should not be used
directly. Instead, the functions getDOMImplementation and
registerDOMImplementation should be imported from xml.dom.i˙˙˙˙(t*sxml.dom.minidomtminidomsxml.dom.DOMImplementationt4DOMcCs|t|<dS(sIregisterDOMImplementation(name, factory)

    Register the factory function with the name. The factory function
    should return an object which implements the DOMImplementation
    interface. The factory function can either return the same object,
    or a new one (e.g. if that implementation supports some
    customization).N(t
registered(tnametfactory((s*/usr/local/lib/python2.5/xml/dom/domreg.pytregisterDOMImplementations	cCs6x/|D]'\}}|i||ƒpdSqqWdS(sF_good_enough(dom, features) -> Return 1 if the dom offers the featuresii(t
hasFeature(tdomtfeaturestftv((s*/usr/local/lib/python2.5/xml/dom/domreg.pyt_good_enough s
c
CsOddk}d}ti|ƒ}|o&t|hhdgƒ}|iƒSnB|ot|ƒSn,|iidƒotd|idƒSnt	|t
ƒot|ƒ}nx5tiƒD]'}|ƒ}t
||ƒo|SqĵqĵWxXtiƒD]J}ytd|ƒ}Wntj
o
qônXt
||ƒo|SqôqôWtd‚dS(sSgetDOMImplementation(name = None, features = ()) -> DOM implementation.

    Return a suitable DOM implementation. The name is either
    well-known, the module name of a DOM implementation, or None. If
    it is not None, imports the corresponding module and returns
    DOMImplementation object if the import succeeds.

    If name is not given, consider the available implementations to
    find one with the required feature set. If no implementation can
    be found, raise an ImportError. The features list must be a sequence
    of (feature, version) pairs which are passed to hasFeature.i˙˙˙˙NtgetDOMImplementationt
PYTHON_DOMRs$no suitable DOM implementation found(tostNonetwell_known_implementationstgett
__import__R
Rtenvironthas_keyt
isinstancetStringTypest_parse_feature_stringtvaluesRtkeyst
StandardErrortImportError(RR	RtcreatortmodR((s*/usr/local/lib/python2.5/xml/dom/domreg.pyR
's4

	
cCsĠg}|iƒ}d}t|ƒ}x¤||jo–||}|ddjotd|f‚n|d}d}||jo3||}|ddjo|d}|}q³n|i||fƒq'Wt|ƒS(Nit
0123456789sbad feature name: %ri(tsplittlent
ValueErrorRtappendttuple(tsR	tpartstitlengthtfeaturetversionR((s*/usr/local/lib/python2.5/xml/dom/domreg.pyRRs$





N((	t__doc__txml.dom.minicompatRRRRRR
R(((s*/usr/local/lib/python2.5/xml/dom/domreg.pys<module>s
			+

Man Man