Commit 70a7c802 authored by Anton Lundin's avatar Anton Lundin Committed by Keith Winstein
Browse files

We can't iterate over the object we are modifying

If subtract is called on itself, prefix and this is the same and the
iterator is invalid after modifying the underlaying object.

Instead just clear everyting.

Closes #354. Closes #355.
parent 0496a8f2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment