summaryrefslogtreecommitdiff
path: root/bs4/element.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2019-07-22 16:58:40 -0400
committerLeonard Richardson <leonardr@segfault.org>2019-07-22 16:58:40 -0400
commit25a4efbf0aedba46687a2c151f1230eeeaacea35 (patch)
treec63845dca5624f54cf82fc65c86d100760e7be1b /bs4/element.py
parent41c2b7c056e73c63c872eeb0a5e3a1f65473eaf0 (diff)
Added a section about project support to the README.
Diffstat (limited to 'bs4/element.py')
-rw-r--r--bs4/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/element.py b/bs4/element.py
index a610008..a57027e 100644
--- a/bs4/element.py
+++ b/bs4/element.py
@@ -741,7 +741,7 @@ class Tag(PageElement):
if ((not builder or builder.store_line_numbers)
and (sourceline is not None or sourcepos is not None)):
self.sourceline = sourceline
- self.sourcepos = sourcepos
+ self.sourcepos = sourcepos
if attrs is None:
attrs = {}
elif attrs: