Skip to content
Snippets Groups Projects
Commit 2aec53aa authored by Piotr Mitros's avatar Piotr Mitros
Browse files

New-style classes

parent 138ff04f
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def strip_dict(d):
(type(d[k]) == float or type(d[k]) == int) ])
return d
class LoncapaProblem():
class LoncapaProblem(object):
def get_state(self):
''' Stored per-user session data neeeded to:
1) Recreate the problem
......
class XModule:
class XModule(object):
''' Implements a generic learning module.
Initialized on access with __init__, first time with state=None, and
then with state
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment