gdb/docs: add parentheses in Python examples using print
authorMarco Barisione <mbarisione@undo.io>
Mon, 25 Jan 2021 15:28:53 +0000 (10:28 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 25 Jan 2021 15:29:57 +0000 (10:29 -0500)
commitf3bdc2dbb9673ee2d0d4d51c86a278dce199d360
treeecdac0138573049a6754d13ae481938edeb8aebc
parenta625a8c9eb4b5ae67dc3a6f34ef3c03520ab090d
gdb/docs: add parentheses in Python examples using print

This makes the examples work both in Python 2 and 3.

gdb/doc/ChangeLog:

* python.texi: Add parentheses to print statements/functions.

Change-Id: I8571f2ee005acd96c7bb43f9882d19b00b2aa3db
gdb/doc/ChangeLog
gdb/doc/python.texi