##// END OF EJS Templates
`sys.maxsize` is the maximum length of a container....
Bradley M. Froehle -
Show More
@@ -1225,7 +1225,7 b' class List(Container):'
1225 1225 """An instance of a Python list."""
1226 1226 klass = list
1227 1227
1228 def __init__(self, trait=None, default_value=None, minlen=0, maxlen=sys.maxint,
1228 def __init__(self, trait=None, default_value=None, minlen=0, maxlen=sys.maxsize,
1229 1229 allow_none=True, **metadata):
1230 1230 """Create a List trait type from a list, set, or tuple.
1231 1231
@@ -1254,7 +1254,7 b' class List(Container):'
1254 1254 minlen : Int [ default 0 ]
1255 1255 The minimum length of the input list
1256 1256
1257 maxlen : Int [ default sys.maxint ]
1257 maxlen : Int [ default sys.maxsize ]
1258 1258 The maximum length of the input list
1259 1259
1260 1260 allow_none : Bool [ default True ]
General Comments 0
You need to be logged in to leave comments. Login now