Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
More docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yscumc committed Sep 18, 2014
1 parent ef93a20 commit 8a959c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions versions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,13 +760,13 @@ def delete(self, using=None):

def _delete_at(self, timestamp, using=None):
"""
WARNING: This method if only for internal use, it should not be used
WARNING: This method is only for internal use, it should not be used
from outside.
It is used only in the case when you want to make sure a group of
related objects are deleted at the exact same time.
It is certainly not meant to be used for deleting an object and give it
It is certainly not meant to be used for deleting an object and giving it
a random deletion date of your liking.
"""
if self.version_end_date is None:
Expand All @@ -781,10 +781,10 @@ def is_current(self):

def _clone_at(self, timestamp):
"""
WARNING: This method if only for internal use, it should not be used
WARNING: This method is only for internal use, it should not be used
from outside.
This function is mostly intended for testing, to allow us creating
This function is mostly intended for testing, to allow creating
realistic test cases.
"""
return self.clone(forced_version_date=timestamp)
Expand Down

0 comments on commit 8a959c1

Please sign in to comment.