From: Marc Fiuczynski Date: Thu, 21 May 2009 01:42:33 +0000 (+0000) Subject: rename argument type to typeval to avoid using a built-in X-Git-Tag: PLCAPI-4.3-15~16 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ddd66ce181f0633eae7463af320e34f79be13cd4;p=plcapi.git rename argument type to typeval to avoid using a built-in --- diff --git a/PLC/Parameter.py b/PLC/Parameter.py index fc25b93..f52c80f 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