Fix help text for "python" command
authorTom Tromey <tom@tromey.com>
Sat, 8 Sep 2018 15:13:37 +0000 (09:13 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Sep 2018 13:44:24 +0000 (07:44 -0600)
commita154931ef1ef1c588c0e7da5e5fd4658c5dd28f5
tree89f6780201460875e2b1356ec06011289000898f
parent60c0454d3dda99635d331f6002f3f04fe34546a7
Fix help text for "python" command

PR python/18380 points out that the example in the "help python" text
will only work in Python 2.  This changes the example to be valid
syntax for both Python 2 and Python 3.

gdb/ChangeLog
2018-09-10  Tom Tromey  <tom@tromey.com>

PR python/18380:
* python/python.c (_initialize_python): Make example in "python"
help work in Python 3.
gdb/ChangeLog
gdb/python/python.c
This page took 0.025567 seconds and 4 git commands to generate.