[SciPy-dev] cast documentation

Pearu Peterson pearu at scipy.org
Sat Nov 27 07:41:42 CST 2004

On Fri, 26 Nov 2004, Alan G Isaac wrote:

> i. The documentation for 'cast' at
> http://oliphant.ee.byu.edu:81/scipy_base/cast
> seems miscast.

This is because cast is a dictionary and the documentation
shows actually dict.__doc__. If one really wants document
cast, then subclassing dict would be one way:

class CastDict(dict):
   """ Docs for cast."""
cast = CastDict(**cast)

in scipy_base/type_check.py.


More information about the Scipy-dev mailing list