Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._vendor.resolvelib.structs Namespace Reference

Data Structures

class  _FactoryIterableView
 
class  _SequenceIterableView
 
class  DirectedGraph
 
class  IteratorMapping
 

Functions

 build_iter_view (matches)
 

Function Documentation

◆ build_iter_view()

build_iter_view (   matches)
Build an iterable view from the value returned by `find_matches()`.

Definition at line 164 of file structs.py.

164def build_iter_view(matches):
165 """Build an iterable view from the value returned by `find_matches()`."""
166 if callable(matches):
167 return _FactoryIterableView(matches)
168 if not isinstance(matches, collections_abc.Sequence):
169 matches = list(matches)
170 return _SequenceIterableView(matches)
for i

References i.