heappop():  Added comments; simplified and sped the code.
heappop():  Added comments; simplified and sped the code.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator