From: W. Trevor King Date: Fri, 6 Apr 2012 18:17:38 +0000 (-0400) Subject: Oops, missed some pygrade -> pygrader updates in model/course.py. X-Git-Tag: v0.2~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba1b7a24cc04aa0ce674a156f17044e96511370d;p=pygrader.git Oops, missed some pygrade -> pygrader updates in model/course.py. --- diff --git a/pygrader/model/course.py b/pygrader/model/course.py index a80a0dd..f66493a 100644 --- a/pygrader/model/course.py +++ b/pygrader/model/course.py @@ -49,7 +49,7 @@ class Course (object): The value of ``None`` matches any person. - >>> from pygrade.model.person import Person + >>> from pygrader.model.person import Person >>> c = Course(people=[ ... Person(name='Bilbo Baggins', ... emails=['bb@shire.org', 'bb@greyhavens.net'], @@ -100,9 +100,9 @@ class Course (object): def grade(self, student, assignment): """Return the ``Grade`` that matches ``Student`` and ``Assignment`` - >>> from pygrade.model.assignment import Assignment - >>> from pygrade.model.grade import Grade - >>> from pygrade.model.person import Person + >>> from pygrader.model.assignment import Assignment + >>> from pygrader.model.grade import Grade + >>> from pygrader.model.person import Person >>> p = Person(name='Bilbo Baggins') >>> a = Assignment(name='Exam 1') >>> g = Grade(student=p, assignment=a, points=10)