Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|
computeFunc should take a single argument, the integer bit id to compute |
>>> obj = LazySig(lambda x:1,10) >>> len(obj) 10 |
>>> obj = LazySig(lambda x:x,10) >>> obj[1] 1 >>> obj[-1] 9 >>> try: ... obj[10] ... except IndexError: ... 1 ... else: ... 0 1 >>> try: ... obj[-10] ... except IndexError: ... 1 ... else: ... 0 1 |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 23 18:49:15 2016 | http://epydoc.sourceforge.net |