From abb322383b5fb69aa58aa175a4991b9bd753ba5d Mon Sep 17 00:00:00 2001 From: David Millman Date: Wed, 16 Apr 2025 10:26:10 -0600 Subject: [PATCH] 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. --- .../developers/docs/data-structures-and-encoding/rlp/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/content/developers/docs/data-structures-and-encoding/rlp/index.md b/public/content/developers/docs/data-structures-and-encoding/rlp/index.md index 04bc25d3032..890c86d8cc4 100644 --- a/public/content/developers/docs/data-structures-and-encoding/rlp/index.md +++ b/public/content/developers/docs/data-structures-and-encoding/rlp/index.md @@ -62,7 +62,7 @@ def encode_length(L, offset): elif L < 256**8: BL = to_binary(L) return chr(len(BL) + offset + 55) + BL - raise Exception("input too long") + raise Exception("input too long") def to_binary(x): if x == 0: