original_docstring: Fast version of a heappush followed by a heappop.
docstring: Fast version of a heappush followed by a heappop.
docstring_tokens: Fast version of a heappush followed by a heappop .
code: def heappushpop(heap, item):
      """Fast version of a heappush followed by a heappop."""
      if heap and heap[0] < item:
          item, heap[0] = heap[0], item
          _siftup(heap, 0)
      return item
code_tokens: def heappushpop ( heap , item ) : if heap and heap [ 0 ] < item : item , heap [ 0 ] = heap [ 0 ] , item _siftup ( heap , 0 ) return item
short_docstring: Fast version of a heappush followed by a heappop.
short_docstring_tokens: Fast version of a heappush followed by a heappop .
comment: """Fast version of a heappush followed by a heappop."""