[all-commits] [llvm/llvm-project] 22d2f3: Move the parsed_cmd conversion def's to module lev...
jimingham via All-commits
all-commits at lists.llvm.org
Tue Feb 13 18:08:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 22d2f3aa3097feb9a91c6d7b8ef611a1cde6d0d5
https://github.com/llvm/llvm-project/commit/22d2f3aa3097feb9a91c6d7b8ef611a1cde6d0d5
Author: Jim Ingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/examples/python/templates/parsed_cmd.py
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
Log Message:
-----------
Move the parsed_cmd conversion def's to module level functions.
Python3.9 does not allow you to put a reference to a class staticmethod
in a table and call it from there. Python3.10 and following do allow
this, but we still support 3.9. staticmethod was slightly cleaner,
but this will do.
More information about the All-commits
mailing list