Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 38765:47d8d19ccadc legacy-trunk
Fix indentation of case and a Py_ssize_t issue.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 12 Jun 2006 02:09:34 +0000 |
| parents | 5dfb21a37f19 |
| children | 9f70f6ba7b69 |
line wrap: on
line diff
--- a/Python/compile.c Mon Jun 12 02:09:03 2006 +0000 +++ b/Python/compile.c Mon Jun 12 02:09:34 2006 +0000 @@ -3665,7 +3665,7 @@ assert(s->kind == AugAssign_kind); switch (e->kind) { - case Attribute_kind: + case Attribute_kind: auge = Attribute(e->v.Attribute.value, e->v.Attribute.attr, AugLoad, e->lineno, e->col_offset, c->c_arena); if (auge == NULL) @@ -4195,7 +4195,7 @@ assemble_emit(struct assembler *a, struct instr *i) { int size, arg = 0, ext = 0; - int len = PyString_GET_SIZE(a->a_bytecode); + Py_ssize_t len = PyString_GET_SIZE(a->a_bytecode); char *code; size = instrsize(i);
