code: def gendict(cls, *args, **kwargs):
          '''
          Pre-translated key dictionary constructor.
  
          See :type:`dict` for more info.
  
          :returns: dictionary with uppercase keys
          :rtype: dict
          '''
          gk = cls.genkey
          return dict((gk(k), v) for k, v in dict(*args, **kwargs).items()f gendict(cls, *args, **kwargs):
          '''
          Pre-translated key dictionary constructor.
  
          See :type:`dict` for more info.
  
          :returns: dictionary with uppercase keys
          :rtype: dict
          '''
          gk = cls.genkey
          return dict((gk(k), v) for k, v in dict(*args, **kwargs).items())
docs: Pre-translated key dictionary constructor.
  
          See :type:`dict` for more info.
  
          :returns: dictionary with uppercase keys
          :rtype: dict