From 4676e8ecd638bc5b7174919a9df8a352faf7c0e9 Mon Sep 17 00:00:00 2001 From: Amr Hassan Date: Tue, 19 Aug 2008 12:31:34 +0000 Subject: [PATCH] cleaning up documentation --- pylast.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pylast.py b/pylast.py index 6abb2be..3a43c72 100644 --- a/pylast.py +++ b/pylast.py @@ -130,9 +130,9 @@ class Asynchronizer(threading.Thread): def async_call(self, callback, call, *call_args): """This is the function for setting up an asynchronous operation. - callback: the function to callback afterwards, accepting two argument, one being the sender and the other is the return of the target call. - call: the target call. - *call_args: any number of arguments to pass to the target call function. + * callback: the function to callback afterwards, accepting two argument, one being the sender and the other is the return of the target call. + * call: the target call. + * *call_args: any number of arguments to pass to the target call function. """ self._calls[call] = call_args @@ -1082,7 +1082,7 @@ class Artist(BaseObject, Cacheable): def share(self, users, message = None): """Shares this artist (sends out recommendations). * users: A list that can contain usernames, emails, User objects, or all of them. - * message: A message to include in the recommendation message. + * message: A message to include in the recommendation message. """ #last.fm currently accepts a max of 10 recipient at a time @@ -1671,7 +1671,7 @@ class Library(BaseObject): def getAlbums(self, limit = None, page = None): """Returns a paginated list of all the albums in a user's library. * limit: The number of albums to retrieve. - * page: The page to retrieve (default is the first one). + * page: The page to retrieve (default is the first one). """ params = self._getParams() @@ -1704,7 +1704,7 @@ class Library(BaseObject): def getArtists(self, limit = None, page = None): """Returns a paginated list of all the artists in a user's library. * limit: The number of artists to retrieve. - * page: The page to retrieve (default is the first one). + * page: The page to retrieve (default is the first one). """ params = self._getParams()