diff options
author | Raymond Hettinger <python@rcn.com> | 2007-12-20 01:25:05 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2007-12-20 01:25:05 (GMT) |
commit | dff1fd93efb1236437cf1fea33446218d0bc2607 (patch) | |
tree | 52e5f6b2fc7248f1911bc2d44ee51ab90ce7704a /Python | |
parent | 0b7b6fdff3b5bd7974c80a891598aa81ed634e61 (diff) | |
download | cpython-dff1fd93efb1236437cf1fea33446218d0bc2607.zip cpython-dff1fd93efb1236437cf1fea33446218d0bc2607.tar.gz cpython-dff1fd93efb1236437cf1fea33446218d0bc2607.tar.bz2 |
Add comments
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/compile.c b/Python/compile.c index 373440e..c77091e 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -3439,10 +3439,10 @@ static int instrsize(struct instr *instr) { if (!instr->i_hasarg) - return 1; + return 1; /* 1 byte for the opcode*/ if (instr->i_oparg > 0xffff) - return 6; - return 3; + return 6; /* 1 (opcode) + 1 (EXTENDED_ARG opcode) + 2 (oparg) + 2(oparg extended) */ + return 3; /* 1 (opcode) + 2 (oparg) */ } static int |