git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
faf9e02
)
rename argument type to typeval to avoid using a built-in
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 21 May 2009 01:42:33 +0000
(
01:42
+0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 21 May 2009 01:42:33 +0000
(
01:42
+0000)
PLC/Parameter.py
patch
|
blob
|
history
diff --git
a/PLC/Parameter.py
b/PLC/Parameter.py
index
fc25b93
..
f52c80f
100644
(file)
--- a/
PLC/Parameter.py
+++ b/
PLC/Parameter.py
@@
-17,14
+17,14
@@
class Parameter:
sub-parameters (i.e., dict fields).
"""
sub-parameters (i.e., dict fields).
"""
- def __init__(self, type, doc = "",
+ def __init__(self, type
val
, 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.
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 = type
val
# Documentation string for the parameter
self.doc = doc
# Documentation string for the parameter
self.doc = doc