-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suffix items #25
Comments
Do you mean you want |
@superbobry exactly. Eventually with the iterator variants, in a way that's symmetric to the |
Sorry, I see now that I had written mumbo jumbo in my initial post... |
Right. I think we should go this way and add And while we're on it, why not revise the current prefix/suffix API? For instance, I think we should deprecate (and later drop) non-iterator methods (e.g. @kmike what do you think? |
👍 |
In Python 3 |
This is a valid point. Anyway, I can sketch the view-based version of |
The
suffixes
method by @xmonader is great but it is missing returning items. It should also return items instead of just returning keys.The text was updated successfully, but these errors were encountered: