Open ZhanruiLiang opened 5 years ago
I agree
I've checked, but it works Why did you add the comma?
I should've said "won't work as expected". ('true')
is the same as 'true' but here I believe the intent here is to have a tuple which should be ('true',)
. Otherwise you've had used the parens. The current way somehow works but it may surprise users because 'rue' in ('true')
, 'u' in ('true')
, etc. will also evaluate to True.
The existing one won't work.