summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 08:27:32 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:01 -0500
commit75cf9b5ac031feb8f94271c9906157c921a14520 (patch)
tree51061671e97c44a71f080329497f5afb49b95585 /docs/ref/utils.txt
parentd67a46e10459858b681176a3e1f8c6bca39d2ac7 (diff)
Refs #13110 -- Removed SyndicationFeed.add_item()'s enclosure argument.
Per deprecation timeline.
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt11
1 files changed, 2 insertions, 9 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 18561781c1..1105dc9a16 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -353,18 +353,11 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004
All parameters should be Unicode objects, except ``categories``, which
should be a sequence of Unicode objects.
- .. method:: add_item(title, link, description, author_email=None, author_name=None, author_link=None, pubdate=None, comments=None, unique_id=None, enclosure=None, categories=(), item_copyright=None, ttl=None, updateddate=None, enclosures=None, **kwargs)
+ .. method:: add_item(title, link, description, author_email=None, author_name=None, author_link=None, pubdate=None, comments=None, unique_id=None, categories=(), item_copyright=None, ttl=None, updateddate=None, enclosures=None, **kwargs)
Adds an item to the feed. All args are expected to be Python ``unicode``
objects except ``pubdate`` and ``updateddate``, which are ``datetime.datetime``
- objects, ``enclosure``, which is an ``Enclosure`` instance, and
- ``enclosures``, which is a list of ``Enclosure`` instances.
-
- .. deprecated:: 1.9
-
- The ``enclosure`` keyword argument is deprecated in favor of the
- new ``enclosures`` keyword argument which accepts a list of
- ``Enclosure`` objects.
+ objects, and ``enclosures``, which is a list of ``Enclosure`` instances.
.. method:: num_items()