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

Function _uniq

Lib/re/_parser.py:449–450  ·  view source on GitHub ↗
(items)

Source from the content-addressed store, hash-verified

447 raise source.error("bad escape %s" % escape, len(escape))
448
449def _uniq(items):
450 return list(dict.fromkeys(items))
451
452def _parse_sub(source, state, verbose, nested):
453 # parse an alternation: a|b|c

Callers 2

_parse_subFunction · 0.85
_parseFunction · 0.85

Calls 2

listClass · 0.85
fromkeysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…