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

Method extend

traitlets/config/loader.py:109–111  ·  view source on GitHub ↗

Extend a list

(self, other: t.Any)

Source from the content-addressed store, hash-verified

107 self._extend.append(obj)
108
109 def extend(self, other: t.Any) -> None:
110 """Extend a list"""
111 self._extend.extend(other)
112
113 def prepend(self, other: t.Any) -> None:
114 """like list.extend, but for the front"""

Callers 15

test_extendMethod · 0.80
test_prepend_extendMethod · 0.80
test_append_extendMethod · 0.80
test_extend_appendMethod · 0.80
test_insert_extendMethod · 0.80
_notify_observersMethod · 0.80
trait_defaultsMethod · 0.80
__dir__Method · 0.80
check_help_outputFunction · 0.80
check_help_all_outputFunction · 0.80
merge_intoMethod · 0.80
get_valueMethod · 0.80

Calls

no outgoing calls

Tested by 5

test_extendMethod · 0.64
test_prepend_extendMethod · 0.64
test_append_extendMethod · 0.64
test_extend_appendMethod · 0.64
test_insert_extendMethod · 0.64