:orphan: .. _s_11PytoRuntime6ObjectC7setItem_5valueyAA8Parsable_pd_ACSgtKF: ``setItem(_:value:)`` ===================== Sets an item to a key and throws an error if it fails. .. raw:: html .. rubric:: Declaration .. raw:: html
.. rubric:: Parameters - **key**: A key, which becomes a tuple if multiple values are passed. - **value**: The new value of the key. If ``nil``, the item is deleted.