From e0b48b9901accee563373e4c815c924d571bad07 Mon Sep 17 00:00:00 2001 From: Marion Date: Sun, 01 Sep 2013 18:16:57 +0000 Subject: restore character -> number type conversion --- (limited to 'TurtleArt/tatype.py') 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, -- cgit v0.9.1