(self)
return self.__copy__()
Return copy of current element.

        This creates a shallow copy. Subelements will be shared with the
        original tree.
Return copy of current element.
Return copy of current element .
def copy(self):
        """Return copy of current element.

        This creates a shallow copy. Subelements will be shared with the
        original tree.

        """
        warnings.warn(
            "elem.copy() is deprecated. Use copy.copy(elem) instead.",
            DeprecationWarning
            )
        return self.__copy__()
def copy ( self ) : warnings . warn ( "elem.copy() is deprecated. Use copy.copy(elem) instead." , DeprecationWarning ) return self . __copy__ ( )