Skip to content

Commit

Permalink
Merge 845f49d into 90f57f0
Browse files Browse the repository at this point in the history
  • Loading branch information
Navneet78 committed Oct 8, 2019
2 parents 90f57f0 + 845f49d commit bb39c92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tempy/tempy.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,13 @@ def clone(self):
"""Returns a deepcopy of this element."""
return copy(self)

@classmethod
def join(cls, list):
n = len(list)
for index in range(1, 2*n-2, 2):
list.insert(index, cls())
return list


class Escaped(DOMElement):
def __init__(self, content, **kwargs):
Expand Down

0 comments on commit bb39c92

Please sign in to comment.