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

Class UnsupportedSelectionError

Tools/c-analyzer/c_common/scriptutil.py:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103# selections
104
105class UnsupportedSelectionError(Exception):
106 def __init__(self, values, possible):
107 self.values = tuple(values)
108 self.possible = tuple(possible)
109 super().__init__(f'unsupported selections {self.unique}')
110
111 @property
112 def unique(self):
113 return tuple(sorted(set(self.values)))
114
115
116def normalize_selection(selected: str, *, possible=None):

Callers 1

normalize_selectionFunction · 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…