aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/python.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/doc/python.texi')
-rw-r--r--gdb/doc/python.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 7b7f069..ab934a8 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -1661,7 +1661,7 @@ example above might be written.
@smallexample
def str_lookup_function(val):
lookup_tag = val.type.tag
- if lookup_tag == None:
+ if lookup_tag is None:
return None
regex = re.compile("^std::basic_string<char,.*>$")
if regex.match(lookup_tag):