From ddd66ce181f0633eae7463af320e34f79be13cd4 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Thu, 21 May 2009 01:42:33 +0000 Subject: [PATCH] rename argument type to typeval to avoid using a built-in --- PLC/Parameter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLC/Parameter.py b/PLC/Parameter.py index fc25b93a..f52c80fe 100644 --- a/PLC/Parameter.py +++ b/PLC/Parameter.py @@ -17,14 +17,14 @@ class Parameter: sub-parameters (i.e., dict fields). """ - def __init__(self, type, doc = "", + def __init__(self, typeval, doc = "", min = None, max = None, optional = None, ro = False, nullok = False): # Basic type of the parameter. Must be a builtin type # that can be marshalled by XML-RPC. - self.type = type + self.type = typeval # Documentation string for the parameter self.doc = doc -- 2.47.0