eth-wiki icon indicating copy to clipboard operation
eth-wiki copied to clipboard

rlp: make python code shown actually runnable (both 2.x and 3.x)

Open jensbjorgensen opened this issue 3 years ago • 0 comments

In the rlp page there's example python code that actually demonstrates the en/decoding of RLP, but unfortunately that code is not actually runnable.

The fixes I'm submitting fix it up so this code actually works, in both python 2.x and 3.x, with minimal changes.

jensbjorgensen avatar Jan 25 '22 22:01 jensbjorgensen