New typo on Ch. 15, missing codequote
sixsixseven opened this issue · 1 comments
sixsixseven commented
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 variablecount
.
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 variablecount
.
csev commented
This whole example has been deleted as of January 24 - with the great "Twitter purge" in the book.