[C++-sig] Boost.Python.function.__signatures__

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Thu Jul 21 22:47:15 CEST 2005


--- Nikolay Mladenov <nickm at sitius.com> wrote:
> > Are you appending or prepending? Can this be customized? (Not that I think
> > customization is very important; I am just wondering.)
> 
> I am appending the docstring after the signature, but it is a bit more
> complicated than that. 
> It involves sorting the overloads based on the default arguments.

Sometimes the order determines which overload is actually used. If you present
a different order it may be very difficult to figure out why things don't work
as expected. I'd stick to the given order.

> There is no customization, but I was thinking of '"" % ()' style
> formatting.

Very interesting idea.

Cheers,
        Ralf


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Cplusplus-sig mailing list