aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/pp.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.rust/pp.py')
-rw-r--r--gdb/testsuite/gdb.rust/pp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rust/pp.py b/gdb/testsuite/gdb.rust/pp.py
index 57c8cc3..a78e300 100644
--- a/gdb/testsuite/gdb.rust/pp.py
+++ b/gdb/testsuite/gdb.rust/pp.py
@@ -38,7 +38,7 @@ def lookup_function(val):
# Get the type name.
typename = type.tag
- if typename == None:
+ if typename is None:
return None
if typename == "pp::Inner":