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: [RFA][Python] Change gdb.Value.address from a method to an attribute.


> Cc: Thiago Jung Bauermann <bauerman@br.ibm.com>, gdb-patches@sourceware.org
> From: Tom Tromey <tromey@redhat.com>
> Date: Sun, 29 Mar 2009 09:41:48 -0600
> 
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> +@defmethod Value address
> >> +If the @code{gdb.Value} object is addressable, this read-only attribute
> >> +holds a @code{gdb.Value} object representing the address.  Otherwise,
> >> +this attribute holds @code{None}.
> >> +@end defmethod
> 
> Eli> The two uses of `gdb.Value' so close to one another and meaning two
> Eli> different things might confuse the reader.
> 
> Our readers are smarter than that.

Including non-native English speakers? I doubt that.

> But perhaps the first "the @code{}" can be changed to "this".

Fine with me, thanks.


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