This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch][doc] PR python/10781


Here's the text that I propose to use:

    +@defmethod Value cast type
    +Return a new instance of @code{gdb.Value} that is the result of
    +casting this instance to the type described by @var{type},
    +which must be a @code{gdb.Type} object.  If the cast cannot be
    +performed for some reason, this method throws an exception.
    +@end defmethod


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]