Trivial bug fix:  deque == []  is not a good way to check if a deque is empty.
Trivial bug fix:  deque == []  is not a good way to check if a deque is empty.

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