public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] python.texi (Xmethods In Python): Fix name of method to call the xmethod.
@ 2015-04-24 18:20 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2015-04-24 18:20 UTC (permalink / raw)
  To: gdb-patches

Hi.

I noticed this while fixing PR 18285.

Committed.

2015-04-24  Doug Evans  <dje@google.com>

	* python.texi (Xmethods In Python): Fix name of method to call the
	xmethod.

diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 098d718..448fa8b2 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2360,7 +2360,7 @@ xmethod worker is found to be equivalent to the winning C@t{++}
 method, then the xmethod worker is treated as a replacement for
 the C@t{++} method.  @value{GDBN} uses the overall winner to invoke the
 method.  If the winning xmethod worker is the overall winner, then
-the corresponding xmethod is invoked via the @code{invoke} method
+the corresponding xmethod is invoked via the @code{__call__} method
 of the worker object.
 
 If one wants to implement an xmethod as a replacement for an

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-24 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-24 18:20 [PATCH] python.texi (Xmethods In Python): Fix name of method to call the xmethod Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).