Discussion:
[Pyublas] Type Information in Docstrings
T J
2008-11-16 01:57:08 UTC
Permalink
Really enjoying pyublas!

In ipython, when I view the docstring, the python prototype shows as:

__init__( (object)arg1, (object)x, (object)y, (int)a, (float)b) -> None :

After I 'import pyublas', it becomes:

__init__( (object)arg1, (numpy.ndarray)x, (numpy.ndarray)y,
(object)a, (object)b) -> None :

Is there any way to keep the type information for every argument? ie,

__init__( (object)arg1, (numpy.ndarray)x, (numpy.ndarray)y, (int)a,
(float)b) -> None :

Loading...