Update builtins.h

This commit is contained in:
blueloveTH 2023-02-24 01:30:52 +08:00
parent 256f9af147
commit fdd474e9c2

View File

@ -208,9 +208,8 @@ del __iterable4__contains__
list.__new__ = lambda obj: [i for i in obj]
# https://github.com/python/cpython/blob/main/Objects/dictobject.c
class dict:
def __init__(self, capacity=12):
def __init__(self, capacity=13):
self._capacity = capacity
self._a = [None] * self._capacity
self._len = 0