Skip to content

Commit da3e04e

Browse files
committed
Use PythonTuple.MakeTuple iso ctor
1 parent 4c43a43 commit da3e04e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/IronPython.Modules/_collections.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ int IStructuralEquatable.GetHashCode(IEqualityComparer comparer) {
988988
int res;
989989
CompareUtil.Push(this);
990990
try {
991-
res = ((IStructuralEquatable)new PythonTuple(GetObjectArray())).GetHashCode(comparer);
991+
res = ((IStructuralEquatable)PythonTuple.MakeTuple(GetObjectArray())).GetHashCode(comparer);
992992
} finally {
993993
CompareUtil.Pop(this);
994994
}

0 commit comments

Comments
 (0)