Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
35
def
eq(a, b):
36
"Same as a == b."
37
return
a == b
38
39
def
ne(a, b):
40
"Same as a != b."
Callers
15
test_constructor
Method · 0.90
test_computations
Method · 0.90
test_str
Method · 0.90
test_microsecond_rounding
Method · 0.90
test_case_sensitivity
Method · 0.85
test_default_data
Method · 0.85
test_data_urls
Method · 0.85
test_file_parsing
Method · 0.85
test_read_mime_types
Method · 0.85
test_non_standard_types
Method · 0.85
test_filename_with_url_delimiters
Method · 0.85
test_registry_parsing
Method · 0.85
Calls
no outgoing calls
Tested by
15
test_constructor
Method · 0.72
test_computations
Method · 0.72
test_str
Method · 0.72
test_microsecond_rounding
Method · 0.72
test_case_sensitivity
Method · 0.68
test_default_data
Method · 0.68
test_data_urls
Method · 0.68
test_file_parsing
Method · 0.68
test_read_mime_types
Method · 0.68
test_non_standard_types
Method · 0.68
test_filename_with_url_delimiters
Method · 0.68
test_registry_parsing
Method · 0.68