Reformat some docstrings
authorEli Bendersky <eliben@gmail.com>
Wed, 8 Jun 2022 12:57:46 +0000 (05:57 -0700)
committerEli Bendersky <eliben@gmail.com>
Wed, 8 Jun 2022 12:57:46 +0000 (05:57 -0700)
scripts/readelf.py

index 1e3213b6ba1c7f7a736f90095ce8f8dd04ed05c4..9b98d0237a0c329b375121e712632c9d9429cd06 100755 (executable)
@@ -955,7 +955,7 @@ class ReadElf(object):
 
     def _symbol_version(self, nsym):
         """ Return a dict containing information on the
-                   or None if no version information is available
+            or None if no version information is available
         """
         self._init_versioninfo()
 
@@ -1174,9 +1174,9 @@ class ReadElf(object):
     def _dump_frames_info(self, section, cfi_entries):
         """ Dump the raw call frame info in a section.
 
-        `section` is the Section instance that contains the call frame info
-        while `cfi_entries` must be an iterable that yields the sequence of
-        CIE or FDE instances.
+            `section` is the Section instance that contains the call frame info
+            while `cfi_entries` must be an iterable that yields the sequence of
+            CIE or FDE instances.
         """
         self._emitline('Contents of the %s section:' % section.name)
 
@@ -1403,7 +1403,7 @@ class ReadElf(object):
 
     def _dump_debug_frames_interp(self):
         """ Dump the interpreted (decoded) frame information from .debug_frame
-        and .eh_framae sections.
+            and .eh_frame sections.
         """
         if self._dwarfinfo.has_EH_CFI():
             self._dump_frames_interp_info(