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

Class FancyCompleter

Lib/_colorize.py:203–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202@dataclass(frozen=True, kw_only=True)
203class FancyCompleter(ThemeSection):
204 # functions and methods
205 function: str = ANSIColors.BOLD_BLUE
206 builtin_function_or_method: str = ANSIColors.BOLD_BLUE
207 method: str = ANSIColors.BOLD_CYAN
208 method_wrapper: str = ANSIColors.BOLD_CYAN
209 wrapper_descriptor: str = ANSIColors.BOLD_CYAN
210 method_descriptor: str = ANSIColors.BOLD_CYAN
211
212 # numbers
213 int: str = ANSIColors.BOLD_YELLOW
214 float: str = ANSIColors.BOLD_YELLOW
215 complex: str = ANSIColors.BOLD_YELLOW
216 bool: str = ANSIColors.BOLD_YELLOW
217
218 # others
219 type: str = ANSIColors.BOLD_MAGENTA
220 module: str = ANSIColors.CYAN
221 NoneType: str = ANSIColors.GREY
222 bytes: str = ANSIColors.BOLD_GREEN
223 str: str = ANSIColors.BOLD_GREEN
224
225
226@dataclass(frozen=True, kw_only=True)

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…