MCPcopy Index your code
hub / github.com/python-jsonschema/jsonschema / _sequence_equal

Function _sequence_equal

jsonschema/_utils.py:118–124  ·  view source on GitHub ↗

Check if two sequences are equal using the semantics of `equal`.

(one, two)

Source from the content-addressed store, hash-verified

116
117
118def _sequence_equal(one, two):
119 """
120 Check if two sequences are equal using the semantics of `equal`.
121 """
122 if len(one) != len(two):
123 return False
124 return all(equal(i, j) for i, j in zip(one, two))
125
126
127def equal(one, two):

Callers 1

equalFunction · 0.85

Calls 1

equalFunction · 0.85

Tested by

no test coverage detected