MCPcopy Create free account
hub / github.com/ipython/ipython / name

Function name

docs/autogen_shortcuts.py:5–11  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

3from IPython.terminal.shortcuts import create_ipython_shortcuts
4
5def name(c):
6 s = c.__class__.__name__
7 if s == '_Invert':
8 return '(Not: %s)' % name(c.filter)
9 if s in log_filters.keys():
10 return '(%s: %s)' % (log_filters[s], ', '.join(name(x) for x in c.filters))
11 return log_filters[s] if s in log_filters.keys() else s
12
13
14def sentencize(s):

Callers 2

multi_filter_strFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected