def dict_new(self, presize=0):
    if (presize == 0):
        fnty = Type.function(self.pyobj, ())
        fn = self._get_function(fnty, name='PyDict_New')
        return self.builder.call(fn, ())
    else:
        fnty = Type.function(self.pyobj, [self.py_ssize_t])
        fn = self._get_function(fnty, name='_PyDict_NewPresized')
        return self.builder.call(fn, [Constant.int(self.py_ssize_t, presize)])
def dict_new(self, presize=0):
    if (presize == 0):
        fnty = Type.function(self.pyobj, ())
        fn = self._get_function(fnty, name='PyDict_New')
        return self.builder.call(fn, ())
    else:
        fnty = Type.function(self.pyobj, [self.py_ssize_t])
        fn = self._get_function(fnty, name='_PyDict_NewPresized')
        return self.builder.call(fn, [Constant.int(self.py_ssize_t, presize)])