DIE.__repr__ typo: s/chidren/children/ (#161)
authoralon <alon@pobox.com>
Tue, 21 Nov 2017 04:54:13 +0000 (06:54 +0200)
committerEli Bendersky <eliben@users.noreply.github.com>
Tue, 21 Nov 2017 04:54:13 +0000 (20:54 -0800)
elftools/dwarf/die.py

index d81ab2aca9ab9bb23a10f31eaa096a249f7bec0b..184ff8cced2e73230777e1bc0cad903c9ec44d21 100755 (executable)
@@ -143,7 +143,7 @@ class DIE(object):
     #------ PRIVATE ------#
 
     def __repr__(self):
-        s = 'DIE %s, size=%s, has_chidren=%s\n' % (
+        s = 'DIE %s, size=%s, has_children=%s\n' % (
             self.tag, self.size, self.has_children)
         for attrname, attrval in iteritems(self.attributes):
             s += '    |%-18s:  %s\n' % (attrname, attrval)