Index: django/contrib/comments/models.py =================================================================== --- django/contrib/comments/models.py (revision 3884) +++ django/contrib/comments/models.py (working copy) @@ -33,8 +33,8 @@ def get_rating_options(self, rating_string): """ Given a rating_string, this returns a tuple of (rating_range, options). - >>> s = "scale:1-10|First_category|Second_category" - >>> get_rating_options(s) + >> s = "scale:1-10|First_category|Second_category" + >> get_rating_options(s) ([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], ['First category', 'Second category']) """ rating_range, options = rating_string.split('|', 1)