PyDocs

Nav

Python Runtime Services

set.add

builtins

method of set
  • set.add(elem, /)
Add an element to a set.

This has no effect if the element is already present.
0 Examples
No examples for builtins/set.add.
See Also
No see-alsos for builtins/set.add
0 Notes
No notes for set.add