util:http: special handling for HTTP_USER_ERROR in get_post_url().
[be.git] / libbe / comment.py
index cdcb694659d7941e5d3abcff8ce1cd903de75e54..a669e4e5012e180f229ca324426dbee53d64994b 100644 (file)
@@ -19,7 +19,7 @@
 # You should have received a copy of the GNU General Public License along with
 # Bugs Everywhere.  If not, see <http://www.gnu.org/licenses/>.
 
-"""Define the :class:`Comment` class for representing bug comments.
+"""Define :py:class:`Comment` for representing bug comments.
 """
 
 import base64
@@ -93,7 +93,7 @@ def save_comments(bug):
 
 
 class Comment (Tree, settings_object.SavedSettingsObject):
-    """Comments are a notes that attach to :class:`~libbe.bug.Bug`\s in
+    """Comments are a notes that attach to :py:class:`~libbe.bug.Bug`\s in
     threaded trees.  In mailing-list terms, a comment is analogous to
     a single part of an email.
 
@@ -200,7 +200,7 @@ class Comment (Tree, settings_object.SavedSettingsObject):
         ``from_storage==True``, they are loaded from the bug database.
         ``content_type`` decides if the body should be run through
         :py:func:`util.id.short_to_long_text` before saving.  See
-        :meth:`_set_comment_body` for details.
+        :py:meth:`_set_comment_body` for details.
 
         ``in_reply_to`` should be the uuid string of the parent comment.
         """