summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-12 02:09:34 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-12 02:09:34 (GMT)
commit2585ad58e6b8bbb54888f31f72536f55a3c77b29 (patch)
tree1eece37371d0b03a81de15ca81a58691a32f2750 /Python/compile.c
parent7659f0fc26515f615c8af162520d26818288b459 (diff)
downloadcpython-2585ad58e6b8bbb54888f31f72536f55a3c77b29.zip
cpython-2585ad58e6b8bbb54888f31f72536f55a3c77b29.tar.gz
cpython-2585ad58e6b8bbb54888f31f72536f55a3c77b29.tar.bz2
Fix indentation of case and a Py_ssize_t issue.
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index cceb2ac..5bda62e 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -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);