[Lldb-commits] [lldb] 2403fa4 - [lldb] Fix typo in ScriptedProcess python docstrings (NFC)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 2 15:23:06 PST 2023


Author: Med Ismail Bennani
Date: 2023-02-02T15:22:52-08:00
New Revision: 2403fa46b9e19b02f17ffd315e49110b7b2ebdea

URL: https://github.com/llvm/llvm-project/commit/2403fa46b9e19b02f17ffd315e49110b7b2ebdea
DIFF: https://github.com/llvm/llvm-project/commit/2403fa46b9e19b02f17ffd315e49110b7b2ebdea.diff

LOG: [lldb] Fix typo in ScriptedProcess python docstrings (NFC)

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>

Added: 
    

Modified: 
    lldb/examples/python/scripted_process/scripted_process.py

Removed: 
    


################################################################################
diff  --git a/lldb/examples/python/scripted_process/scripted_process.py b/lldb/examples/python/scripted_process/scripted_process.py
index a84e057edc5ec..758d0a47d1152 100644
--- a/lldb/examples/python/scripted_process/scripted_process.py
+++ b/lldb/examples/python/scripted_process/scripted_process.py
@@ -200,7 +200,7 @@ def get_process_metadata(self):
 
         Returns:
             Dict: A dictionary containing metadata for the scripted process.
-                  None is the process as no metadata.
+                  None if the process as no metadata.
         """
         return self.metadata
 
@@ -350,7 +350,7 @@ def get_extended_info(self):
 
         Returns:
             List: A list containing the extended information for the scripted process.
-                  None is the thread as no extended information.
+                  None if the thread as no extended information.
         """
         return self.extended_info
 


        


More information about the lldb-commits mailing list