mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-09 19:50:55 +08:00
Restores Iter example
This commit is contained in:
@@ -32,6 +32,16 @@ You can also use an :class:`Iter` instance which can sometimes be more convenien
|
|||||||
i.append(2, -1)
|
i.append(2, -1)
|
||||||
i.append(3, -1)
|
i.append(3, -1)
|
||||||
|
|
||||||
|
# run it
|
||||||
|
i.run()
|
||||||
|
|
||||||
|
# get the results
|
||||||
|
print(i.result())
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
[-1.0, -2.0, -3.0]
|
||||||
|
|
||||||
Reference
|
Reference
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user