You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute test.py I obtain the following error:
Traceback (most recent call last):
File "test.py", line 7, in <module>
print(list(tt.iterate()))
AttributeError: 'TestType' object has no attribute 'iterate'
This code works if I call the iterate function as mymodule.iterate(tt). I think it could be useful to also have iterators exported for PyNimObjectExperimental types. I'm pretty new to Nim, but I can have a look to that if it is ok :)
The text was updated successfully, but these errors were encountered:
Hi friends!
I was playing around with
PyNimObjectExperimental
and I found that iterators are not exported. For example:When I execute test.py I obtain the following error:
This code works if I call the
iterate
function asmymodule.iterate(tt)
. I think it could be useful to also have iterators exported forPyNimObjectExperimental
types. I'm pretty new to Nim, but I can have a look to that if it is ok :)The text was updated successfully, but these errors were encountered: