From 220d9f1449f7550f314b4a65034114654d21dbf9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 23 Jan 1991 13:45:17 +0000 Subject: The parser module is now called paenlparser. --- Lib/irix5/panel.py | 10 +++++----- Lib/plat-irix5/panel.py | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Lib/irix5/panel.py b/Lib/irix5/panel.py index eb11508..9fda1c6 100755 --- a/Lib/irix5/panel.py +++ b/Lib/irix5/panel.py @@ -152,7 +152,7 @@ def build_actuator(descr): act = pnl.mkact(type) act.downfunc = act.activefunc = act.upfunc = dummy_callback # - assign_members(act, descr[1:], ('al', 'data', 'name'), '') + assign_members(act, descr[1:], ['al', 'data', 'name'], '') # # Treat actuator-specific data # @@ -162,7 +162,7 @@ def build_actuator(descr): prefix = 'puck_' elif type = 'mouse': prefix = 'mouse_' - assign_members(act, datalist, (), prefix) + assign_members(act, datalist, [], prefix) # return act, actuatorname @@ -218,7 +218,7 @@ def build_panel(descr): # # Assign panel attributes # - assign_members(panel, descr[1:], ('al'), '') + assign_members(panel, descr[1:], ['al'], '') # # Look for actuator list # @@ -264,8 +264,8 @@ def my_dopanel(): # generated by the Panel Editor. # def defpanellist(file): - import parser - descrlist = parser.parse_file(open(file, 'r')) + import panelparser + descrlist = panelparser.parse_file(open(file, 'r')) panellist = [] for descr in descrlist: panellist.append(build_panel(descr)) diff --git a/Lib/plat-irix5/panel.py b/Lib/plat-irix5/panel.py index eb11508..9fda1c6 100755 --- a/Lib/plat-irix5/panel.py +++ b/Lib/plat-irix5/panel.py @@ -152,7 +152,7 @@ def build_actuator(descr): act = pnl.mkact(type) act.downfunc = act.activefunc = act.upfunc = dummy_callback # - assign_members(act, descr[1:], ('al', 'data', 'name'), '') + assign_members(act, descr[1:], ['al', 'data', 'name'], '') # # Treat actuator-specific data # @@ -162,7 +162,7 @@ def build_actuator(descr): prefix = 'puck_' elif type = 'mouse': prefix = 'mouse_' - assign_members(act, datalist, (), prefix) + assign_members(act, datalist, [], prefix) # return act, actuatorname @@ -218,7 +218,7 @@ def build_panel(descr): # # Assign panel attributes # - assign_members(panel, descr[1:], ('al'), '') + assign_members(panel, descr[1:], ['al'], '') # # Look for actuator list # @@ -264,8 +264,8 @@ def my_dopanel(): # generated by the Panel Editor. # def defpanellist(file): - import parser - descrlist = parser.parse_file(open(file, 'r')) + import panelparser + descrlist = panelparser.parse_file(open(file, 'r')) panellist = [] for descr in descrlist: panellist.append(build_panel(descr)) -- cgit v0.12