I have a class that defines the methods

  int size() const;
  const char* operator[int pos] const;
  operator bool() const;

I want to rename these methods

  __len__
  __getitem__
  __nonzero__

when I  export them.

With SWIG I can do that with the %rename directive.
How do I do that with SIP?
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to