Package lxml :: Module treemigrator :: Class TreeReplicatorMaker
[frames] | no frames]

Class TreeReplicatorMaker

source code

object --+
         |
        TreeReplicatorMaker

Fast tree mass replication.

Original implementation by Fredrik Lundh.

Note that the fastest way to deep copy an lxml XML tree is to use the deepcopy() function from the standard Python copy module.

Instance Methods
 
__init__(ET_impl, makeelement=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
make_clone_factory(self, elem) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(ET_impl, makeelement=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)