From de3a552eab032cb980a2fb78976fc3dc8cd5f1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 11 Mar 2013 22:28:43 +0100 Subject: Remove InfiniteIterator and infinite_iterator. Use Iterator/iterator instead. --- docs/changelog.rst | 1 + docs/reference.rst | 26 -------------------------- 2 files changed, 1 insertion(+), 26 deletions(-) (limited to 'docs') diff --git a/docs/changelog.rst b/docs/changelog.rst index 1a82ecd..88107a4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -15,6 +15,7 @@ ChangeLog *Removed:* - Remove associated class discovery + - Remove :class:`~factory.InfiniteIterator` and :func:`~factory.infinite_iterator` - Stop defaulting to Django's ``Foo.objects.create()`` when "creating" instances - Remove STRATEGY_* - Remove :meth:`~factory.Factory.set_building_function` / :meth:`~factory.Factory.set_creation_function` diff --git a/docs/reference.rst b/docs/reference.rst index 2b5ba11..27e2e14 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -830,32 +830,6 @@ use the :func:`iterator` decorator: yield line -InfiniteIterator -~~~~~~~~~~~~~~~~ - -.. class:: InfiniteIterator(iterable) - - Equivalent to ``factory.Iterator(iterable)``. - -.. deprecated:: 1.3.0 - Merged into :class:`Iterator`; will be removed in v2.0.0. - - Replace ``factory.InfiniteIterator(iterable)`` - with ``factory.Iterator(iterable)``. - - -.. function:: infinite_iterator(function) - - Equivalent to ``factory.iterator(func)``. - - -.. deprecated:: 1.3.0 - Merged into :func:`iterator`; will be removed in v2.0.0. - - Replace ``@factory.infinite_iterator`` with ``@factory.iterator``. - - - Post-generation hooks """"""""""""""""""""" -- cgit v1.2.3