Hi,

We're using autodoc to document a Python module generated from a C++
library using SWIG, and are getting a bunch of warnings of the type:

  (WARNING/2) error while formatting arguments for ...: <built-in
  function ... > is not a Python function

probably because autodoc tries to extract the types of the return
arguments by introspection, but fails.

I know this has been discussed in the past, but most posts seem to be
rather old and I have been able to figure out how to resolve this,
so I was wondering what the current fix would be?

I have tried using autodoc_process_signature, which does indeed change
the generated signatures, but does not have any effect on the
warnings. The number of warnings in our case is of the order 10^3, so
it would be very helpful either to be able to suppress these warnings,
or a workaround of some other sort.

Thanks in advance for your help and for the wonderful Sphinx :-)

Best regards
  Marie Rognes

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to