Hi all,
source code as below puzzles me:

def make_sparse_labeled_tensor(ndim, labels=None,
                               initial=None, accumulate=None,
                               normalize=False):
        if labels is None: labels = [OrderedSet() for _ in xrange(ndim)]
        ......

It's a library named "divisi". "OrderedSet" is a string set defined in this
lib. "ndim" is integer.  What's the meaning of "for _ in" ?

Joson
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to