~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/doc/person.txt

  • Committer: Curtis Hovey
  • Date: 2011-04-26 16:39:33 UTC
  • mto: (12919.3.1 question-email-0)
  • mto: This revision was merged to the branch mainline in revision 12923.
  • Revision ID: curtis.hovey@canonical.com-20110426163933-u3p42o767syjt5m1
Hush lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
parameter can be used to control the list of statuses to select.
70
70
 
71
71
    >>> from lp.answers.enums import QuestionStatus
72
 
    >>> for question in foo_bar.searchQuestions(status=QuestionStatus.INVALID):
 
72
    >>> for question in foo_bar.searchQuestions(
 
73
    ...         status=QuestionStatus.INVALID):
73
74
    ...     print question.title, question.status.title
74
75
    Firefox is slow and consumes too much RAM   Invalid
75
76