MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / KeyifyList

Class KeyifyList

_pydevd_bundle/pydevd_constants.py:750–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748
749
750class KeyifyList(object):
751 def __init__(self, inner, key):
752 self.inner = inner
753 self.key = key
754
755 def __len__(self):
756 return len(self.inner)
757
758 def __getitem__(self, k):
759 return self.key(self.inner[k])
760
761
762def call_only_once(func):

Callers 2

map_to_serverMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected