mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
Update builtins.h
This commit is contained in:
parent
256f9af147
commit
fdd474e9c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user