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 v2 2/2] Fix PR python/17386 - add __index__ method to gdb.Value


>> +#ifndef HAVE_LIBPYTHON_2_4
>> +  /* This was added in Python 2.5.  */
>> +  , valpy_long		      /* nb_index */
>> +#endif /* HAVE_LIBPYTHON_2_4 */

Pedro> Are you trying to avoid a trailing comma?

Yep.

Pedro> IOW, this can be:

I fixed it locally, thanks.

Tom


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