Skip to content

Commit

Permalink
Fix docstring for create()
Browse files Browse the repository at this point in the history
git-svn-id: http://pyactiveresource.googlecode.com/svn/trunk@74 8807a2d2-0055-0410-b418-2ff1661b7dac
  • Loading branch information
Mark Roach committed Jun 16, 2010
1 parent 6a024d3 commit 3140122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/activeresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def create(cls, attributes):
Args:
attributes: A dictionary of attributes which represent this object.
Returns:
True if the resource is found, False otherwise.
The new resource (which may or may not have been saved successfully).
"""
resource = cls(attributes)
resource.save()
Expand Down

0 comments on commit 3140122

Please sign in to comment.