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
Hi,
I was trying some code of the book. While trying I found some unfinished code in the book but in the git the problem already resolved.
:page 29
def ip_addresses():
hostname = socket.gethostname()
addresses = socket.getaddrinfo(hostname, None)
address_info = []
for address in addresses:
address_info.append(address[0].name, address[4][0]) # The inner item should be a list add..append((...))
return address_info
:page 70
def test_prerelease_of_micro_is_unmarked(self, subject): # here version argument is missing
py39 = (3, 9, 1, "alpha", 1) # here version function is not used py39 = version(...)
assert subject(py39) == "3.9"
The text was updated successfully, but these errors were encountered:
MrDataPsycho
changed the title
Bug in code in them main copy of the book !
Bug in code in the main copy of the book !
Oct 10, 2021
Hi,
I was trying some code of the book. While trying I found some unfinished code in the book but in the git the problem already resolved.
The text was updated successfully, but these errors were encountered: