We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PythonTuple.MakeTuple
1 parent 4c43a43 commit da3e04eCopy full SHA for da3e04e
src/core/IronPython.Modules/_collections.cs
@@ -988,7 +988,7 @@ int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) {
988
int res;
989
CompareUtil.Push(this);
990
try {
991
- res = ((IStructuralEquatable)new PythonTuple(GetObjectArray())).GetHashCode(comparer);
+ res = ((IStructuralEquatable)PythonTuple.MakeTuple(GetObjectArray())).GetHashCode(comparer);
992
} finally {
993
CompareUtil.Pop(this);
994
}
0 commit comments