diff options
Diffstat (limited to 'lldb/examples/summaries/cocoa/CFBitVector.py')
-rw-r--r-- | lldb/examples/summaries/cocoa/CFBitVector.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/examples/summaries/cocoa/CFBitVector.py b/lldb/examples/summaries/cocoa/CFBitVector.py index 3f477e82a8a..73552a3e2b8 100644 --- a/lldb/examples/summaries/cocoa/CFBitVector.py +++ b/lldb/examples/summaries/cocoa/CFBitVector.py @@ -5,6 +5,8 @@ Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. See https://llvm.org/LICENSE.txt for license information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ +from __future__ import print_function + # summary provider for CF(Mutable)BitVector import lldb import ctypes @@ -169,11 +171,11 @@ def GetSummary_Impl(valobj): else: wrapper = CFBitVectorUnknown_SummaryProvider( valobj, class_data.sys_params) - print actual_name + print(actual_name) else: wrapper = CFBitVectorUnknown_SummaryProvider( valobj, class_data.sys_params) - print name_string + print(name_string) statistics.metric_hit( 'unknown_class', valobj.GetName() + |