r19916 - gnucash/trunk/src/optional/python-bindings - Add commodity price functions to bindings.
Christian Stimming
stimming at tuhh.de
Fri Dec 10 05:24:19 EST 2010
Am Donnerstag, 9. Dezember 2010 schrieb Derek Atkins:
> Hi,
>
> Mike Evans <mikee at saxicola.idps.co.uk> writes:
> > With %feature("autodoc", "1"); and -Werror I get:
> >
> > ../../../src/engine/Account.h:182: Warning(314): 'from' is a python
> > keyword, renaming to '_from'
> > ../../../src/libqof/qof/gnc-numeric.h:266: Warning(314): 'in' is a python
> > keyword, renaming to '_in'
> > ../../../src/engine/gnc-commodity.h:949: Warning(314): 'from' is a python
> > keyword, renaming to '_from'
>
> I think it's perfectly reasonable to change the name of these variables
> in the three GnuCash headers in order to fix these warnings for you.
Absolutely. Feel free to rename this so that we don't use keyword, even if
from another language.
Regards,
Christian
More information about the gnucash-devel
mailing list