mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Create code string with initial size of 1000 instead of 0.
This commit is contained in:
parent
b8824952cb
commit
62d4624ea3
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ com_init(c, filename)
|
||||||
struct compiling *c;
|
struct compiling *c;
|
||||||
char *filename;
|
char *filename;
|
||||||
{
|
{
|
||||||
if ((c->c_code = newsizedstringobject((char *)NULL, 0)) == NULL)
|
if ((c->c_code = newsizedstringobject((char *)NULL, 1000)) == NULL)
|
||||||
goto fail_3;
|
goto fail_3;
|
||||||
if ((c->c_consts = newlistobject(0)) == NULL)
|
if ((c->c_consts = newlistobject(0)) == NULL)
|
||||||
goto fail_2;
|
goto fail_2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue