Skip to content

Commit b7c1723

Browse files
committed
docs
1 parent 503bf18 commit b7c1723

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cf/field.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,10 @@ def _binary_operation(self, other, method):
10241024
x[identity] = key
10251025

10261026
if x:
1027+
# Get the sorted identities (sorted so that
1028+
# they're comparable between fields) and their
1029+
# corresponding keys.
1030+
#
10271031
# E.g. {2:3, 4:6, 1:7} -> (1, 2, 4), (7, 3, 6)
10281032
identity, keys = tuple(zip(*sorted(x.items())))
10291033
coords = tuple(

0 commit comments

Comments
 (0)