This commit is contained in:
Diederik Loerakker 2019-10-28 08:29:01 +01:00 committed by GitHub
parent 9582814c62
commit 257fcd9c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -569,7 +569,7 @@ def int_to_bytes(n: uint64, length: uint64) -> bytes:
```python
def bytes_to_int(data: bytes) -> uint64:
"""
Return the integer deserialization of ``data`` intepretted as ``ENDIANNESS``-endian.
Return the integer deserialization of ``data`` intepreted as ``ENDIANNESS``-endian.
"""
return int.from_bytes(data, ENDIANNESS)
```