We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In this case:
from orderedset import OrderedSet oset = OrderedSet([1, 2, 3]) oset2 = OrderedSet([3, 2, 1]) oset3 = OrderedSet([1, 2, 3, 4]) oset.isorderedsubset(oset3) # True
the function is work fine.
But in this:
from orderedset import OrderedSet oset = OrderedSet([1, 2, 3]) oset2 = OrderedSet([3, 2, 1]) oset3 = OrderedSet([7, 0, 1, 2, 3, 4]) oset.isorderedsubset(oset3) # False
the one has wrong result.
The text was updated successfully, but these errors were encountered:
I rewrite it as I wish to:
list(oset2 & oset3) == list(oset2)
Sorry, something went wrong.
No branches or pull requests
In this case:
the function is work fine.
But in this:
the one has wrong result.
The text was updated successfully, but these errors were encountered: