[libc++] Remove duplicated _LIBCPP_HIDE_FROM_ABI from a few declarations (#122323)
[llvm-project.git] / lldb / test / API / commands / command / script / decorated.py
blob0b4b9d8a67e585668b51e4cbb0905c6f4c9ffa20
1 import lldb
4 @lldb.command()
5 def decorated1(debugger, args, exe_ctx, result, dict):
6 """
7 Python command defined by @lldb.command
8 """
9 print("hello from decorated1", file=result)
12 @lldb.command(doc="Python command defined by @lldb.command")
13 def decorated2(debugger, args, exe_ctx, result, dict):
14 """
15 This docstring is overridden.
16 """
17 print("hello from decorated2", file=result)
20 @lldb.command()
21 def decorated3(debugger, args, result, dict):
22 """
23 Python command defined by @lldb.command
24 """
25 print("hello from decorated3", file=result)
28 @lldb.command("decorated4")
29 def _decorated4(debugger, args, exe_ctx, result, dict):
30 """
31 Python command defined by @lldb.command
32 """
33 print("hello from decorated4", file=result)