diff options
author | Guido van Rossum <guido@python.org> | 1991-04-03 19:00:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-04-03 19:00:23 (GMT) |
commit | 62d4624ea39b25a1b76d354486a52ef653a4aec0 (patch) | |
tree | b97202f722655f818429bfbb39817347e88271e2 /Python/compile.c | |
parent | b8824952cb616bdb1b60bcf9fb3b486e91c7d42b (diff) | |
download | cpython-62d4624ea39b25a1b76d354486a52ef653a4aec0.zip cpython-62d4624ea39b25a1b76d354486a52ef653a4aec0.tar.gz cpython-62d4624ea39b25a1b76d354486a52ef653a4aec0.tar.bz2 |
Create code string with initial size of 1000 instead of 0.
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 1c3f2fa..b61658e 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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; |