From 5f44b2de04f005dd17f917b47c28d0382ea397ec Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Thu, 7 Mar 2013 23:52:01 -0500 Subject: [PATCH] minor comment on partial credit --- common/lib/capa/capa/correctmap.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/lib/capa/capa/correctmap.py b/common/lib/capa/capa/correctmap.py index fd83fc29f8..ea56863a2f 100644 --- a/common/lib/capa/capa/correctmap.py +++ b/common/lib/capa/capa/correctmap.py @@ -111,10 +111,7 @@ class CorrectMap(object): return None def get_npoints(self, answer_id): - """ Return the number of points for an answer: - If the answer is correct, return the assigned - number of points (default: 1 point) - Otherwise, return 0 points """ + """Return the number of points for an answer, used for partial credit.""" npoints = self.get_property(answer_id, 'npoints') if npoints is not None: return npoints