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

Method lower

Lib/importlib/metadata/_text.py:91–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 # cache lower since it's likely to be called frequently.
90 @method_cache
91 def lower(self):
92 return super().lower()
93
94 def index(self, sub):
95 return self.lower().index(sub.lower())

Callers 15

__lt__Method · 0.95
__gt__Method · 0.95
__eq__Method · 0.95
__ne__Method · 0.95
__hash__Method · 0.95
indexMethod · 0.95
mainFunction · 0.45
load_font_cfgMethod · 0.45
on_fontlist_selectMethod · 0.45
findfontMethod · 0.45
maybesaveMethod · 0.45

Calls 1

superClass · 0.85

Tested by 6

test_LoadTagDefsMethod · 0.36
test_config_colorsMethod · 0.36
lowercase_insertMethod · 0.36
test_fontlist_keyMethod · 0.36
test_fontlist_mouseMethod · 0.36
test_initMethod · 0.36