INNER CODE UNIT · Python

popitem

pdpipe/pdpipe · src/pdpipe/core.py:197

    def popitem(self) -> object:
        """Not implemented."""
        raise NotImplementedError

    def update(self, other: dict) -> None:
        """Update self with key-value pairs from another dict.

        This overwrite any existing mappings with keys that are also
        mapped in other.

        update() accepts either another dictionary object or an iterable of
        key/value pairs (as tuples or other iterables of length two). If
        keyword arguments are specified, the dictionary is then updated with
        those key/value pairs: d.update(red=1, blue=2).

        Parameters
        ----------
        other : dict

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…