Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ has_duplicates
Function
has_duplicates
lib/matplotlib/tests/test_backend_registry.py:18–19 ·
view source on GitHub ↗
(seq: Sequence[Any])
Source
from the content-addressed store, hash-verified
16
17
18
def
has_duplicates(seq: Sequence[Any]) -> bool:
19
return
len(seq) > len(set(seq))
20
21
22
@pytest.mark.parametrize(
Callers
3
test_list_builtin
Function · 0.85
test_list_builtin_with_filter
Function · 0.85
test_list_gui_frameworks
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…