[SciPy-Dev] What is 'array_like'? Why an underscore instead of a hyphen?

Charles R Harris charlesr.harris at gmail.com
Sun May 23 11:59:42 EDT 2010


On Sun, May 23, 2010 at 7:41 AM, Warren Weckesser <
warren.weckesser at enthought.com> wrote:

> <pedantic>
> What's up with the use of 'array_like'?  The underscore makes it look
> like an actual python identifier, but as far as I can see, there is no
> such thing.  Why not use 'array-like'?
> </pedantic>
>
>
Because my shift key was stuck? Think of it as a generic type name. As a
programmer, I'm not clear on how the subtraction of "like" from "array"
should be interpreted ;) Also, please put spaces around operators like "-"
and "+".

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100523/a223d90a/attachment.html>


More information about the SciPy-Dev mailing list