[issue17100] rotating an ordereddict
Antoine Pitrou
report at bugs.python.org
Sun Feb 24 11:27:06 CET 2013
Antoine Pitrou added the comment:
> Perhaps for consistency with popitem() and move_to_end() it is worth
> to merge rotate_at() and rotate_after() in one method (rotate_to()?
> move_to()?) with a boolean parameter.
Yes, perhaps. rotate_to(last=False) sounds ok, but perhaps a native
English speaker can suggest a better name.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17100>
_______________________________________
More information about the Python-bugs-list
mailing list