Explorar el Código

Update builtins.h

blueloveTH hace 3 años
padre
commit
fdd474e9c2
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/builtins.h

+ 1 - 2
src/builtins.h

@@ -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