fork download
  1. import collections
  2.  
  3. class DictExtension(collections.OrderedDict):
  4. def method(self, val):
  5. if isinstance(val, collections.defaultdict):
  6. pass
  7. else:
  8. pass
Success #stdin #stdout 0.02s 10200KB
stdin
Standard input is empty
stdout
Standard output is empty