Show More
@@ -25,7 +25,7 b' class basedag(object):' | |||||
25 | self._inverse = None |
|
25 | self._inverse = None | |
26 |
|
26 | |||
27 | def nodeset(self): |
|
27 | def nodeset(self): | |
28 |
'''set of all node i |
|
28 | '''set of all node ixs''' | |
29 | raise NotImplementedError |
|
29 | raise NotImplementedError | |
30 |
|
30 | |||
31 | def heads(self): |
|
31 | def heads(self): | |
@@ -77,7 +77,7 b' class basedag(object):' | |||||
77 | return self._internalize(id) |
|
77 | return self._internalize(id) | |
78 |
|
78 | |||
79 | def internalizeall(self, ids, filterunknown=False): |
|
79 | def internalizeall(self, ids, filterunknown=False): | |
80 |
'''return a list of (or set if given a set) of node i |
|
80 | '''return a list of (or set if given a set) of node ixs''' | |
81 | ixs = self._internalizeall(ids, filterunknown) |
|
81 | ixs = self._internalizeall(ids, filterunknown) | |
82 | if isinstance(ids, set): |
|
82 | if isinstance(ids, set): | |
83 | return set(ixs) |
|
83 | return set(ixs) |
General Comments 0
You need to be logged in to leave comments.
Login now