MCPcopy Index your code
hub / github.com/ipython/ipython / create_identifier

Function create_identifier

IPython/terminal/shortcuts/__init__.py:64–72  ·  view source on GitHub ↗
(handler: Callable)

Source from the content-addressed store, hash-verified

62
63
64def create_identifier(handler: Callable):
65 parts = handler.__module__.split(".")
66 name = handler.__name__
67 package = parts[0]
68 if len(parts) > 1:
69 final_module = parts[-1]
70 return f"{package}:{final_module}.{name}"
71 else:
72 return f"{package}:{name}"
73
74
75AUTO_MATCH_BINDINGS = [

Callers 2

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