[PATCH] python doc: Rework Breakpoint.__init__ doc
Sat Dec 9 08:22:00 GMT 2017
> CC: <email@example.com>
> From: Simon Marchi <firstname.lastname@example.org>
> Date: Fri, 8 Dec 2017 15:46:59 -0500
> - don't use spec and function/line/label/source at the same time
> - you should choose (exclusively) one form (the one that uses spec) or
> the other (the one that uses function/line/label/source)
My question was about the 2nd form only: which of the keywords can or
cannot be used together, and what is the semantics of their
combinations? I suspect the rules are the same as with the CLI
command, so I think we should either tell that or add a
cross-reference to where that's described for CLI.
> However, showing two different constructors in the documentation is not technically
> accurate with how it is implemented in the Python-support code, because it is
> not possible to have two constructors with different signatures in Python.
That's okay, since the manual says "2 forms", not "2 constructors".
More information about the Gdb-patches