Document lazy computation for pretty-printer "children" method
authorTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 14:19:04 +0000 (08:19 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 10 May 2019 18:35:26 +0000 (12:35 -0600)
commita97c8e56362b77fcbbf5b57e5053356320273977
tree90ac6fa026ac06e1dfb141d45d87dcc6f81b7a26
parent71bed2dba6c0706633ead4994cc89e063abf28ea
Document lazy computation for pretty-printer "children" method

I found out recently that some users didn't know that the Python
pretty-printers "children" method should compute its result lazily.
This has been a good idea since the earliest days, but wasn't
mentioned in the docs.  This patch adds some text to this effect.

gdb/doc/ChangeLog
2019-05-10  Tom Tromey  <tromey@adacore.com>

* python.texi (Pretty Printing API): Mention lazy computation for
"children".
gdb/doc/ChangeLog
gdb/doc/python.texi