automatetheboringstuffwithpythondotcom icon indicating copy to clipboard operation
automatetheboringstuffwithpythondotcom copied to clipboard

Delete 'https://google.com/search?q=' from line of code

Open Kyaace opened this issue 4 years ago • 1 comments

https://github.com/asweigart/automatetheboringstuffwithpythondotcom/blob/9031ce6d4b200bbea3c37df3999598ed3af32b8f/content/2e/chapter12/index.html#L381

res = requests.get('https://google.com/search?q=' 'https://pypi.org/search/?q=' Line 381 should likely read:

res = requests.get('https://pypi.org/search/?q='

Snippet of code from first edition of book stuck around in mangled form.

Kyaace avatar Apr 01 '20 23:04 Kyaace

This is also in the print version of the 2nd Edition as well.

binkocd avatar Jun 28 '20 18:06 binkocd