It's waiting for a False which might occur later; False trumps None. /c
On Thursday, March 25, 2021 at 2:51:11 PM UTC-5 [email protected] wrote: > This is a code for fuzzy_and: > rv = True > for ai in args: > ai = fuzzy_bool(ai) > if ai is False: > return False > if rv: # this will stop updating if a None is ever trapped > rv = ai > return rv > > Is there any reason why None is not immediately returned? > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/aaa1a92e-bcaf-4bbc-9e02-219e1d0a23e3n%40googlegroups.com.
