diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-04-09 14:05:26 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-04-09 14:05:26 -0400 |
commit | c4a7d44e76b1784185946682d4111759f48ac0bd (patch) | |
tree | 66b3859af4110305e98c3efe3c96898f79d7625c | |
parent | e3e5ce6a2a32a915263784a55c28c9dd4e2af6e0 (diff) |
Backported a bug fix that knocks a full second off the test run time.
-rw-r--r-- | bs4/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/element.py b/bs4/element.py index 9c73957..33cbc19 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -1356,7 +1356,7 @@ class Tag(PageElement): This is the first step in the deepcopy process. """ clone = type(self)( - None, self.builder, self.name, self.namespace, + None, None, self.name, self.namespace, self.prefix, self.attrs, is_xml=self._is_xml, sourceline=self.sourceline, sourcepos=self.sourcepos, can_be_empty_element=self.can_be_empty_element, |