csev/py4e

New typo on Ch. 15, missing codequote

sixsixseven opened this issue · 1 comments

Possibly missing [0] in the following sentence (underlined):

Since fetchone() returns the row as a tuple (even though there is only one field), we take the first value from the tuple using to get the current friend count into the variable count.

Should read:

Since fetchone() returns the row as a tuple (even though there is only one field), we take the first value from the tuple using [0] to get the current friend count into the variable count.

csev commented

This whole example has been deleted as of January 24 - with the great "Twitter purge" in the book.