You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should have the effect of removing self from the current scope, so we can't use it again (does the code on line 210 work?)
Either make a copy of locals() before modifying it (locals().copy()), or possibly refactor this method to use **kwargs instead. I think that would make the code much nicer :) -- https://www.pythontutorial.net/python-basics/python-kwargs/
The text was updated successfully, but these errors were encountered:
In this method, we're effectively calling
locals().pop("self")
:https://github.com/rafrisci/sports-book-manager/blob/master/sports_book_manager/book_scrape_class.py#L198
This should have the effect of removing
self
from the current scope, so we can't use it again (does the code on line 210 work?)Either make a copy of locals() before modifying it (
locals().copy()
), or possibly refactor this method to use**kwargs
instead. I think that would make the code much nicer :) --https://www.pythontutorial.net/python-basics/python-kwargs/
The text was updated successfully, but these errors were encountered: