You are viewing an older version (9.12.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / utils / ipstruct / Struct / __dict_invert

function

IPython.utils.ipstruct:Struct.__dict_invert

source: /IPython/utils/ipstruct.py :210

Signature

def   __dict_invert ( self data )

Summary

Helper function for merge.

Extended Summary

Takes a dictionary whose values are lists and returns a dict with the elements of each list as keys and the original keys as values.

Aliases

  • IPython.core.interactiveshell.Struct._Struct__dict_invert