This forum has been archived. Please start a
new discussion on GitHub
Small glitch in Connection #3, page 10
There's a small bug in the code for Connection #3, page 10, where the author wrote:
if __name__ == 'main':
It should have been
if __name__ == '__main__':
This is quite important, as the main code will never be executed in the former case :-(
You are correct! Thanks for pointing this out.
I've updated the issue on our web server with this correction. Thanks for pointing out this bug!