Skip to content

Commit

Permalink
card comment docstring param
Browse files Browse the repository at this point in the history
  • Loading branch information
Mislav Cimperšak committed Mar 3, 2017
1 parent ec81b80 commit e4dc488
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,10 @@ def subscribe(self):
post_args={'value': True})

def comment(self, comment_text):
"""Add a comment to a card."""
"""Add a comment to a card.
:comment_text: str
"""
comment_data = self.client.fetch_json(
'/cards/' + self.id + '/actions/comments',
http_method='POST',
Expand Down

0 comments on commit e4dc488

Please sign in to comment.