Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tatype.py
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-09-01 18:16:57 (GMT)
committer Marion <marion.zepf@gmail.com>2013-09-01 18:16:57 (GMT)
commite0b48b9901accee563373e4c815c924d571bad07 (patch)
tree849907f41a0b9b1ea8ab49a743e20155f7c8ffa9 /TurtleArt/tatype.py
parent3f7b1056899435e349e0a24c8d33c9021067098c (diff)
restore character -> number type conversion
Diffstat (limited to 'TurtleArt/tatype.py')
-rw-r--r--TurtleArt/tatype.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/TurtleArt/tatype.py b/TurtleArt/tatype.py
index fdf7659..1d35952 100644
--- a/TurtleArt/tatype.py
+++ b/TurtleArt/tatype.py
@@ -138,6 +138,7 @@ TYPE_CONVERTERS = {
# converting A -> C must yield the same result as converting A -> B -> C.
# TYPE_OBJECT is the supertype of everything.
TYPE_CHAR: {
+ TYPE_INT: ord,
TYPE_STRING: identity},
TYPE_COLOR: {
TYPE_FLOAT: float,