MCPcopy Index your code
hub / github.com/python/cpython / eq

Function eq

Lib/operator.py:35–37  ·  view source on GitHub ↗

Same as a == b.

(a, b)

Source from the content-addressed store, hash-verified

33 return a <= b
34
35def eq(a, b):
36 "Same as a == b."
37 return a == b
38
39def ne(a, b):
40 "Same as a != b."

Callers 15

test_constructorMethod · 0.90
test_computationsMethod · 0.90
test_strMethod · 0.90
test_case_sensitivityMethod · 0.85
test_default_dataMethod · 0.85
test_data_urlsMethod · 0.85
test_file_parsingMethod · 0.85
test_read_mime_typesMethod · 0.85
test_registry_parsingMethod · 0.85

Calls

no outgoing calls

Tested by 15

test_constructorMethod · 0.72
test_computationsMethod · 0.72
test_strMethod · 0.72
test_case_sensitivityMethod · 0.68
test_default_dataMethod · 0.68
test_data_urlsMethod · 0.68
test_file_parsingMethod · 0.68
test_read_mime_typesMethod · 0.68
test_registry_parsingMethod · 0.68