# test passing a user-defined mapping as the argument to **deffoo(**kw):print(sorted(kw.items()))classMapping:defkeys(self):# the long string checks the case of string interningreturn['a','b','c','abcdefghijklmnopqrst']def__getitem__(self,key):ifkey=='a':return1else:return2foo(**Mapping())