extended doc string

This commit is contained in:
Andreas Preikschat 2012-05-05 14:40:31 +02:00
parent aa917e7aba
commit 7f7ac0c54e
1 changed files with 3 additions and 2 deletions

View File

@ -133,10 +133,11 @@ class PriorityQueue(Queue.PriorityQueue):
Modifies the priority of the given ``image``.
``image``
The image to remove. This should be an ``Image`` instance.
The image to remove. This should be an :class:`Image` instance.
``new_priority``
The image's new priority.
The image's new priority. See the :class:`Priority` class for
priorities.
"""
self.remove(image)
image.priority = new_priority