mirror of https://github.com/kivy/pyjnius.git
Allow conversion from Python array-like structures to bare java.lang.Object
This commit is contained in:
parent
f77a87d3fd
commit
32ed8b9113
|
@ -321,6 +321,9 @@ cdef int calculate_score(sign_args, args, is_varargs=False) except *:
|
|||
elif isinstance(arg, basestring):
|
||||
score += 5
|
||||
continue
|
||||
elif isinstance(arg, (list, tuple)):
|
||||
score += 5
|
||||
continue
|
||||
return -1
|
||||
|
||||
# accept an autoclass class for java/lang/Class.
|
||||
|
|
Loading…
Reference in New Issue