           &gt;(); //has get_pytype
  BFromPython();

  class_&lt;A&gt;("A") ;

  def("func", &amp;func);

}



&gt;&gt;&gt; from pytype_function_ext import *
&gt;&gt;&gt; print func.__doc__
func( (A)arg1) -> A :
    C++ signature:
         struct B func(struct B)
</pre>


  <p><i>&copy; Copyright <a href="mailto:nickm at sitius dot com">Nikolay Mladenov</a> 2007.</i></p>
</body>
</html>
