From: Tim Gates Date: Wed, 13 Jul 2022 21:01:06 +0000 (+1000) Subject: docs: Fix a few typos (#431) X-Git-Tag: v0.29~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d37dd02e22c4ae39224962a0d300fb9aba2af683;p=pyelftools.git docs: Fix a few typos (#431) There are small typos in: - elftools/common/py3compat.py - elftools/dwarf/die.py Fixes: - Should read `representations` rather than `pepresentations`. - Should read `purposes` rather than `pusposes`. --- diff --git a/elftools/common/py3compat.py b/elftools/common/py3compat.py index c701cc0..e3980b2 100644 --- a/elftools/common/py3compat.py +++ b/elftools/common/py3compat.py @@ -18,7 +18,7 @@ if PY3: # Functions for acting on bytestrings and strings. In Python 2 and 3, # strings and bytes are the same and chr/ord can be used to convert between - # numeric byte values and their string pepresentations. In Python 3, bytes + # numeric byte values and their string representations. In Python 3, bytes # and strings are different types and bytes hold numeric values when # iterated over. diff --git a/elftools/dwarf/die.py b/elftools/dwarf/die.py index 5dc45e2..76f2096 100755 --- a/elftools/dwarf/die.py +++ b/elftools/dwarf/die.py @@ -64,7 +64,7 @@ class DIE(object): abbrev_code: The abbreviation code pointing to an abbreviation entry (note - that this is for informational pusposes only - this object + that this is for informational purposes only - this object interacts with its abbreviation table transparently). See also the public methods.