From 78f2a1ebe7d1fef0d1245a75f59c85474eb06bb2 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 2 Jul 2012 20:14:40 -0400 Subject: [PATCH] Add comments to LoncapaProblem constructor with types --- common/lib/capa/capa/capa_problem.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/lib/capa/capa/capa_problem.py b/common/lib/capa/capa/capa_problem.py index f3f0187f1f..d624d1e423 100644 --- a/common/lib/capa/capa/capa_problem.py +++ b/common/lib/capa/capa/capa_problem.py @@ -74,11 +74,11 @@ class LoncapaProblem(object): Arguments: - - problem_text : xml defining the problem - - id : string used as the identifier for this problem; often a filename (no spaces) - - state : student state (represented as a dict) - - seed : random number generator seed (int) - - system : I4xSystem instance which provides OS, rendering, and user context + - problem_text (string): xml defining the problem + - id (string): identifier for this problem; often a filename (no spaces) + - state (dict): student state + - seed (int): random number generator seed (int) + - system (I4xSystme): I4xSystem instance which provides OS, rendering, and user context '''