MCPcopy 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
453def _uniq(items):
454 return list(dict.fromkeys(items))
455
456def _parse_sub(source, state, verbose, nested):
457 # parse an alternation: a|b|c

Callers 2

_parse_subFunction · 0.85
_parseFunction · 0.85

Calls 2

listFunction · 0.85
fromkeysMethod · 0.45

Tested by

no test coverage detected