Skip to content

Commit 1842662

Browse files
committed
Fix variable name.
1 parent 7c5b737 commit 1842662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

erlang.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def _binary_to_term(i, data):
462462
if b_ord(data[i]) != _TAG_SMALL_INTEGER_EXT:
463463
raise ParseException('invalid small integer tag')
464464
i += 1
465-
length = b_ord(data[i])
465+
arity = b_ord(data[i])
466466
i += 1
467467
return (i, OtpErlangFunction(tag, data[old_i:i]))
468468
elif tag == _TAG_NEW_REFERENCE_EXT:

0 commit comments

Comments
 (0)