[SciPy-Dev] removing netcdf_variable from netcdf.__all__

Ralf Gommers ralf.gommers@googlemail....
Tue Sep 13 12:04:58 CDT 2011


On Tue, Sep 13, 2011 at 6:57 PM, Benjamin Root <ben.root@ou.edu> wrote:

> On Tue, Aug 30, 2011 at 11:48 AM, Ralf Gommers <
> ralf.gommers@googlemail.com> wrote:
>
>> Hi,
>>
>> Question for users of scipy.io.netcdf: did you ever use netcdf_variable
>> directly, or only via netcdf_file.createVariable? The documentation says
>> that the latter is the only intended use, which means that this class
>> shouldn't be in __all__. https://github.com/scipy/scipy/pull/67 removes
>> it (and changes its __init__ in a non-backwards compatible way) - the patch
>> looks correct but I want to double check that no one is using this class.
>>
>> Thanks,
>> Ralf
>>
>>
> Sorry for not replying earlier (I don't regularly track this list).  No, I
> don't use netcdf_variable directly.  However, would the documentation for
> the class's other methods still show up in the main documentation if you
> remove it from __all__?
>
> It should, since the io module docstring contains:

Netcdf (:mod:`scipy.io.netcdf`)
===============================

.. module:: scipy.io.netcdf

.. autosummary::
   :toctree: generated/

   netcdf_file - A file object for NetCDF data
   netcdf_variable - A data object for the netcdf module

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20110913/60044d95/attachment.html 


More information about the SciPy-Dev mailing list