diff options
Diffstat (limited to 'Lib/test/crashers/modify_dict_attr.py')
-rw-r--r-- | Lib/test/crashers/modify_dict_attr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/crashers/modify_dict_attr.py b/Lib/test/crashers/modify_dict_attr.py index dfce467c8e..2a8fce04b5 100644 --- a/Lib/test/crashers/modify_dict_attr.py +++ b/Lib/test/crashers/modify_dict_attr.py @@ -16,4 +16,4 @@ class MyClass(object): if __name__ == '__main__': del MyClass.__dict__ # if we set tp_dict to NULL, - print MyClass # doing anything with MyClass segfaults + print(MyClass) # doing anything with MyClass segfaults |