future_to_url = {executor.submit(getHotelURLs, url): url for url in cityURLs}
The above code is from an concurrent.futures example in https://docs.python.org/3/library/concurrent.futures.html
It seems to me that a for loop is used in a dictionary. I am wondering if there is a documentation about this?