Improve `with_iter`'s docs a bit.
Add one from jaraco.util.itertools 9.0
Correct SyntaxError on Python 3
Use print function for future aesthetic and compatibility
Add distinct_permutations function
Add distinct_permutations to api.rst
Polish up one() for merge.

* Move a one() corner case from a doctest to a unit test. No need to clutter the docs with that.
* Rename the formal param for consistency with other routines.
* Make the doctests pass in both Python 2.x and 3.x.
* Be more specific about what exception one() raises.
* Slide one() up in the docs so the routines are in alphabetical order. Soon, I'd like to break them into categories so people can skip reading ones they don't need.
Merge in one() from jaraco.util.itertools. Close #33.
Stop making false accusations about the next() builtin. Fix #31.

It's unfortunate we chose to raise ValueError instead of StopIteration like next(). I remember wrestling with that decision.
Fix indents and add docstring for helper function
Put new function in alphabetical order

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687235
Properly format arguments in docstring

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687277
Don't use capital variable name

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687292
Replace collections.Counter for 2.6 compatibility

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687247
New class not needed for single testcase

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687329
Spurious argument in 1449f87

Addresses review comment:
https://github.com/erikrose/more-itertools/pull/36#discussion_r10687329
Make tests pass under Python 3.x.

Comparing ints and strs is not allowed.
Make a few style tweaks: no behavior changes.

This is a teensy bit faster, likely because it doesn't have to set the value twice.
Add distinct_permutations to version history.
Merge in `distinct_permutations()`. Close #36.