summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index b007859..97aa224 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -6619,7 +6619,7 @@ static int
assemble_line_range(struct assembler *a)
{
int ldelta, bdelta;
- bdelta = (a->a_offset - a->a_lineno_start) * 2;
+ bdelta = (a->a_offset - a->a_lineno_start) * sizeof(_Py_CODEUNIT);
if (bdelta == 0) {
return 1;
}