class
TopoExtraLinksContents
- Reference
Methods
- def append(self, x: Topo.ExtraLink) -> None
- Add an item to the end of the list
- def clear(self, /) -> None
- Clear the contents
- def extend(self, L: TopoExtraLinks) -> None
- Extend the list by appending all the items in the given list
- def extend(self, L: iterable) -> None
- Extend the list by appending all the items in the given list
- def insert(self, i: int, x: Topo.ExtraLink) -> None
- Insert an item at a given position.
- def pop(self, /) -> Topo.ExtraLink
- Remove and return the last item
- def pop(self, i: int) -> Topo.ExtraLink
- Remove and return the item at index ``i``
Special methods
- def __bool__(self, /) -> bool
- Check whether the list is nonempty
- def __delitem__(self, arg0: int, /) -> None
- Delete the list elements at index ``i``
- def __delitem__(self, arg0: slice, /) -> None
- Delete list elements using a slice object
- def __getitem__(self, s: slice) -> TopoExtraLinks
- Retrieve list elements using a slice object
- def __getitem__(self, arg0: int, /) -> Topo.ExtraLink
- def __init__(self, /) -> None
- def __init__(self, arg0: TopoExtraLinks, /) -> None
- Copy constructor
- def __init__(self, arg0: iterable, /) -> None
- def __iter__(self, /) -> typing.Iterator[Topo.ExtraLink]
- def __len__(self, /) -> int
- def __setitem__(self, arg0: int, arg1: Topo.ExtraLink, /) -> None
- def __setitem__(self, arg0: slice, arg1: TopoExtraLinks, /) -> None
- Assign list elements using a slice object