Adam DePrince wrote:

> Now, as for your example m * [ n * [0]], I would exclude it from a best
> practices document.

I'm assuming he meant the best-practices document would be
documenting how to do that *right*!

BTW, something I had in mind for the list comprehension
syntax back when it was being developed, but didn't
get around to pursuing, was letting you say

   [0 times n]

or for multidimensional arrays

   [[0 times m] times n]

etc. Not sure if the use cases are frequent enough to
justify it, though.

Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to