Message4678
I get an error when initializing a property that expects an int[] using
a tuple (in 2.5rc2):
Traceback:
File <blah>, line 176, in init_sash_form
self.sash_form.weights = (30, 70)
TypeError: No visible constructors for class ([I)
Prototype for property weights:
void setWeights(int[] weights)
However, there are no problems when using a list instead. |
|
Date |
User |
Action |
Args |
2009-05-13 01:58:24 | petegibson | set | recipients:
+ petegibson |
2009-05-13 01:58:23 | petegibson | set | messageid: <1242179903.99.0.397747147853.issue1345@psf.upfronthosting.co.za> |
2009-05-13 01:58:23 | petegibson | link | issue1345 messages |
2009-05-13 01:58:23 | petegibson | create | |
|