MCPcopy
hub / github.com/SFTtech/openage / add

Method add

openage/util/ordered_set.py:28–32  ·  view source on GitHub ↗

Set-like add that calls append_right().

(self, elem: Hashable)

Source from the content-addressed store, hash-verified

26 self.update(elements)
27
28 def add(self, elem: Hashable) -> None:
29 """
30 Set-like add that calls append_right().
31 """
32 self.append_right(elem)
33
34 def append_left(self, elem: Hashable) -> None:
35 """

Callers 15

gather_abilityMethod · 0.95
gather_abilityMethod · 0.95
load_config_fileFunction · 0.80
add_gatherer_idMethod · 0.80
add_nyan_objectMethod · 0.80
debug_gamedata_formatFunction · 0.80
get_existing_graphicsFunction · 0.80
create_building_linesMethod · 0.80

Calls 1

append_rightMethod · 0.95

Tested by 1

test_headersFunction · 0.64