From d37dd02e22c4ae39224962a0d300fb9aba2af683 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 14 Jul 2022 07:01:06 +1000 Subject: [PATCH] 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`. --- elftools/common/py3compat.py | 2 +- elftools/dwarf/die.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.30.2