Permalink
Browse files

Added doc strings to the functions in class Distinguishable

  • Loading branch information...
1 parent ff50f8e commit fa8081856376b91823ebf71f10b8c10a35eb2ebb @Damgaard Damgaard committed with bboe Apr 29, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 reddit/objects.py
View
@@ -143,12 +143,14 @@ class Distinguishable(RedditContentObject):
"""Interface for Reddit content objects that can be distinguished."""
@require_login
def distinguish(self):
+ """Distinguish object as made by mod / admin."""
url = self.reddit_session.config['distinguish']
params = {'id': self.content_id}
return self.reddit_session.request_json(url, params)
@require_login
def undistinguish(self):
+ """Remove mod / admin distinguishing on object."""
url = self.reddit_session.config['undistinguish']
params = {'id': self.content_id}
return self.reddit_session.request_json(url, params)

0 comments on commit fa80818

Please sign in to comment.