Create code string with initial size of 1000 instead of 0.

This commit is contained in:
Guido van Rossum 1991-04-03 19:00:23 +00:00
parent b8824952cb
commit 62d4624ea3
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ com_init(c, filename)
struct compiling *c;
char *filename;
{
if ((c->c_code = newsizedstringobject((char *)NULL, 0)) == NULL)
if ((c->c_code = newsizedstringobject((char *)NULL, 1000)) == NULL)
goto fail_3;
if ((c->c_consts = newlistobject(0)) == NULL)
goto fail_2;