py/sequence: Fix grammar in comment about equality.
This commit is contained in:
parent
3b258ef213
commit
e9593d5075
@ -165,7 +165,7 @@ bool mp_seq_cmp_bytes(mp_uint_t op, const byte *data1, size_t len1, const byte *
|
|||||||
size_t min_len = len1 < len2 ? len1 : len2;
|
size_t min_len = len1 < len2 ? len1 : len2;
|
||||||
int res = memcmp(data1, data2, min_len);
|
int res = memcmp(data1, data2, min_len);
|
||||||
if (op == MP_BINARY_OP_EQUAL) {
|
if (op == MP_BINARY_OP_EQUAL) {
|
||||||
// If we are checking for equality, here're the answer
|
// If we are checking for equality, here's the answer
|
||||||
return res == 0;
|
return res == 0;
|
||||||
}
|
}
|
||||||
if (res < 0) {
|
if (res < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user