Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ _uniq
Function
_uniq
tools/python-3.11.9-amd64/Lib/re/_parser.py:453–454 ·
view source on GitHub ↗
(items)
Source
from the content-addressed store, hash-verified
451
raise
source.error(
"bad escape %s"
% escape, len(escape))
452
453
def
_uniq(items):
454
return
list(dict.fromkeys(items))
455
456
def
_parse_sub(source, state, verbose, nested):
457
# parse an alternation: a|b|c
Callers
2
_parse_sub
Function · 0.85
_parse
Function · 0.85
Calls
2
list
Function · 0.85
fromkeys
Method · 0.45
Tested by
no test coverage detected