[PATCH] Small fixes to the Python API doc

Eli Zaretskii eliz@gnu.org
Thu Oct 16 18:38:00 GMT 2014


> From: Simon Marchi <simon.marchi@ericsson.com>
> CC: Simon Marchi <simon.marchi@ericsson.com>
> Date: Thu, 16 Oct 2014 14:06:36 -0400
> 
> First:
> "Breakpoint.delete" is missing parenthesis.

I was going to say it doesn't need them, since it doesn't accept any
arguments, but then I saw that we already use those empty parens
everywhere.

So, reluctantly, OK for the parens.

>  @defvar Breakpoint.enabled
>  This attribute is @code{True} if the breakpoint is enabled, and
> -@code{False} otherwise.  This attribute is writable.
> +@code{False} otherwise.  You can use it to enable or disable the breakpoint.
> +This attribute is writable.
>  @end defvar

The order is wrong: first say that it's writable, then that it can be
used to enable/disable.

OK with that change.

Thanks.



More information about the Gdb-patches mailing list