2010/3/8 Branko Vukelic <[email protected]>
>
> But that's still redundant (in Python at least). I compare:
>
> if logged():
> do sth
>
> and
>
> if session.login:
> do sth
>
> is pretty much the same, yeah? Cause, from the snipped above, I'd
> assume the false login status would be 0, which == False.
>
>
>
i didn't look at the example, my guess was about snipped logged() func. in
this scenario you are right, a logged() function is redundant.
--
Aydın ŞEN
Ege Üniversitesi
Uluslararası Bilgisayar Enstitüsü
--
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/webpy?hl=en.