Helps compatibility with older Python versions.
| copyright: |
|
|---|---|
| license: | BSD, see LICENSE for more details. |
Dictionary that remembers insertion order
and values equal to v (which defaults to None).
Return and remove a (key, value) pair. Pairs are returned in LIFO order if last is true or FIFO order if false.