MCPcopy Create free account
hub / github.com/ipython/traitlets / prepend

Method prepend

traitlets/config/loader.py:113–115  ·  view source on GitHub ↗

like list.extend, but for the front

(self, other: t.Any)

Source from the content-addressed store, hash-verified

111 self._extend.extend(other)
112
113 def prepend(self, other: t.Any) -> None:
114 """like list.extend, but for the front"""
115 self._prepend[:0] = other
116
117 def merge_into(self, other: t.Any) -> t.Any:
118 """

Callers 4

test_prependMethod · 0.80
test_prepend_extendMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_prependMethod · 0.64
test_prepend_extendMethod · 0.64