diff options
author | Leonard Richardson <leonardr@segfault.org> | 2018-07-14 21:26:32 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2018-07-14 21:26:32 -0400 |
commit | c60b55e4362c41825098504c177784395624272c (patch) | |
tree | 1552aad7e79e2efadf7082fc353f43a3bf2c7c8d | |
parent | 8353a9a88011a4a502a06485778d8a256d730304 (diff) | |
download | beautifulsoup4-c60b55e4362c41825098504c177784395624272c.tar.gz |
Fix an error in the warning when run from REPL.
-rw-r--r-- | bs4/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py index 6d0cfd9..a081a7d 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -211,7 +211,7 @@ class BeautifulSoup(Tag): caller = sys._getframe(2) except ValueError: globals = sys.__dict__ - lineno = 1 + line_number= 1 else: globals = caller.f_globals line_number = caller.f_lineno |