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

Function _is_sizable

IPython/core/completer.py:708–710  ·  view source on GitHub ↗

Determines whether objects is sizable

(value: Any)

Source from the content-addressed store, hash-verified

706
707
708def _is_sizable(value: Any) -> TypeGuard[Sized]:
709 """Determines whether objects is sizable"""
710 return hasattr(value, "__len__")
711
712
713def _is_iterator(value: Any) -> TypeGuard[Iterator]:

Callers 1

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