mirror of https://github.com/kivy/pyjnius.git
Replaced calculation with its value
This commit is contained in:
parent
0163333954
commit
e3dad6b5f5
|
@ -266,7 +266,7 @@ cdef int calculate_score(sign_args, args, is_varargs=False) except *:
|
|||
|
||||
if r == 'S' or r == 'I':
|
||||
if isinstance(arg, int) or (
|
||||
(isinstance(arg, long) and arg < 2 ** 31)):
|
||||
(isinstance(arg, long) and arg < 2147483648)):
|
||||
score += 10
|
||||
continue
|
||||
elif isinstance(arg, float):
|
||||
|
|
Loading…
Reference in New Issue