MapStringString class
Methods
Special methods
- def __bool__(self, /) -> bool
- Check whether the map is nonempty
- def __contains__(self, arg0: str, /) -> bool
- def __contains__(self, arg0: object, /) -> bool
- def __delitem__(self, arg0: str, /) -> None
- def __format__(self, format_spec, /)
- Default object formatter.
- def __getitem__(self, arg0: str, /) -> str
- def __init__(self, /) -> None
- def __iter__(self, /) -> typing.Iterator[str]
- def __len__(self, /) -> int
- def __repr__(self, /) -> str
- Return the canonical string representation of this map.
- def __setitem__(self, arg0: str, arg1: str, /) -> None
Method documentation
def habitat_sim. MapStringString. __format__(self, format_spec, /)
Default object formatter.
Return str(self) if format_spec is empty. Raise TypeError otherwise.