Author: damoxc
Revision: 5520
Log:
update the doc string for add_torrent_url
Diff:
Modified: trunk/deluge/core/core.py
===================================================================
--- trunk/deluge/core/core.py 2009-07-22 20:50:06 UTC (rev 5519)
+++ trunk/deluge/core/core.py 2009-07-22 20:56:08 UTC (rev 5520)
@@ -264,12 +264,15 @@
@export
def add_torrent_url(self, url, options, headers=None):
"""
- Adds a torrent from a url. Deluge will attempt to fetch the torrent
+ Adds a torrent from a url. Deluge will attempt to fetch the torrent
from url prior to adding it to the session.
- :param url: str, the url pointing to the torrent file
- :param options: dict, the options to apply to the torrent on add
- :param headers: dict, any optional headers to send
+ :param url: the url pointing to the torrent file
+ :type url: string
+ :param options: the options to apply to the torrent on add
+ :type options: dict
+ :param headers: any optional headers to send
+ :type headers: dict
:returns: a Deferred which returns the torrent_id as a str or None
"""
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---