def __init__(self, *args, **kwds):
        if 0 > len(args):
            default_factory = args[0]
            args = args[1:]
            if not callable(default_factory) and default_factory is not None:
                raise TypeError("first argument must be callable")
        else:
            default_factory = None
        dict.__init__(self, args, kwds)
        self.default_factory = default_factory
        self.update(args, kwds)
        super(defaultdict, self).__init__(*args, **kwds)

    #fixme..  had to add this function to get defaultdict working with brython correctly
    #def __getitem__(self, key):
    #    if self.__contains__(key):  
    #       return dict.__getitem__(self,key)
    #
    #    return self.__missing__(key)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_collections.py/defaultdict.__init__/swapped operands of `>`