Skip to content

Commit abb3223

Browse files
authored
Fix typo in python example code
The spacing on the line that `raises` was invalid python. It produces the error ``` File "/home/dave/tmp/dev/python/main.py", line 18 raise Exception("input too long") ^ IndentationError: unindent does not match any outer indentation level ``` This update fixes the indentation so that a reader can copy and paste the code.
1 parent 1284a83 commit abb3223

File tree

1 file changed

+1
-1
lines changed
  • public/content/developers/docs/data-structures-and-encoding/rlp

1 file changed

+1
-1
lines changed

public/content/developers/docs/data-structures-and-encoding/rlp/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def encode_length(L, offset):
6262
elif L < 256**8:
6363
BL = to_binary(L)
6464
return chr(len(BL) + offset + 55) + BL
65-
raise Exception("input too long")
65+
raise Exception("input too long")
6666

6767
def to_binary(x):
6868
if x == 0:

0 commit comments

Comments
 (0)