code: def from_dict(cls, fsa):
          'Instance a new structure from a Python dictionary.'
          fsa = dict(fsa)
          s = cls()
          for key in cls._integer_members:
              setattr(s, key, fsa.get(key))
          ra = fsa.get('RegisterArea', None)
          if ra is not None:
              for index in compat.xrange(0, SIZE_OF_80387_REGISTERS):
                  s.RegisterArea[index] = ra[index]
          return f from_dict(cls, fsa):
          'Instance a new structure from a Python dictionary.'
          fsa = dict(fsa)
          s = cls()
          for key in cls._integer_members:
              setattr(s, key, fsa.get(key))
          ra = fsa.get('RegisterArea', None)
          if ra is not None:
              for index in compat.xrange(0, SIZE_OF_80387_REGISTERS):
                  s.RegisterArea[index] = ra[index]
          return s
docs: Instance a new structure from a Python dictionary.