Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius/tutorial.py
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius/tutorial.py')
-rw-r--r--tutorius/tutorial.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tutorius/tutorial.py b/tutorius/tutorial.py
index 6a6e089..0736bbb 100644
--- a/tutorius/tutorial.py
+++ b/tutorius/tutorial.py
@@ -16,6 +16,9 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#TODO: On update, only properties should be passed as arguments for State.update and Tutorial.update
+#TODO: On update for transition, a None value means that the value is not updated
+#TODO: Check for putting checks for validity of names as decorators
+#TODO: For notification of modifications on the Tutorial check for GObject and PyDispatcher for inspiration
class Tutorial(object):
""" This class replaces the previous Tutorial class and
@@ -328,6 +331,8 @@ class Tutorial(object):
@return A reference to the dictionary of all the states in the tutorial with state_name as key and state as value
"""
+ # Maybe we will need to change it for an immutable dictionary
+ # to make sure the internal representation is not modified
return self._state_dict
def get_following_states_dict(self, state_name):
@@ -723,7 +728,7 @@ class State(object):
@param otherState The state that will be compared to this one
@return True if the states are the same, False otherwise
` """
- raise NotImplemented
+ raise NotImplementedError