]> granicus.if.org Git - python/commitdiff
Fix indentation of case and a Py_ssize_t issue.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 12 Jun 2006 02:09:34 +0000 (02:09 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 12 Jun 2006 02:09:34 +0000 (02:09 +0000)
Python/compile.c

index cceb2ac10fa68c1c4fea9ae2b0befc5a77279c19..5bda62edeabe21d65d4300eaa36f4e8a36e258ad 100644 (file)
@@ -3665,7 +3665,7 @@ compiler_augassign(struct compiler *c, stmt_ty s)
        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 @@ static int
 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);