From 24458456ef09bf7b90436947cd2dbba2b9f6437e Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 01 Feb 2010 18:28:56 +0000 Subject: move primitives into a dictionary --- (limited to 'constants.py') diff --git a/constants.py b/constants.py index e57968f..632f1ad 100644 --- a/constants.py +++ b/constants.py @@ -231,7 +231,7 @@ PRIMITIVES = { 'arc':'arc', 'back':'back', 'blue':'blue', - 'bottompos':'bottompos', + 'bottompos':'bpos', 'box1':'box1', 'box2':'box2', 'box':'box', @@ -259,7 +259,7 @@ PRIMITIVES = { 'kbinput':'kbinput', 'keyboard':'keyboard', 'left':'left', - 'leftpos':'leftpos', + 'leftpos':'lpos', 'less':'less?', 'list':'bullet', 'minus2':'minus', @@ -282,7 +282,7 @@ PRIMITIVES = { 'red':'red', 'remainder2':'mod', 'repeat':'repeat', - 'rightpos':'rightpos', + 'rightpos':'rpos', 'right':'right', 'scale':'scale', 'setcolor':'setcolor', @@ -308,7 +308,7 @@ PRIMITIVES = { 'template2x1':'t2x1', 'template2x2':'t2x2', 'textsize':'textsize', - 'toppos':'toppos', + 'toppos':'tpos', 'turtle':'turtle', 'vspace':'nop', 'wait':'wait', -- cgit v0.9.1