This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 03/14] Document that Frame.block can throw
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Sat, 8 Sep 2018 14:14:06 -0600
>
> PR python/16484 points out that Frame.block can throw an exception,
> but this is not documented.
>
> This patch fixes the documentation. Changing Frame.block to return
> None would be nice, but I suspect it's too late for that change.
>
> gdb/doc/ChangeLog
> 2018-09-08 Tom Tromey <tom@tromey.com>
>
> PR python/16484:
> * python.texi (Frames In Python): Document that Frame.block can
> throw.
OK, thanks.