Pipe in the "return" statement

Archard Lias archardlias at googlemail.com
Mon Jul 25 10:16:06 EDT 2011


On Jul 25, 2:03 pm, Ian Collins <ian-n... at hotmail.com> wrote:
> On 07/26/11 12:00 AM, Archard Lias wrote:
>
> > Hi,
>
> > Still I dont get how I am supposed to understand the pipe and its task/
> > idea/influece on control flow, of:
> > return<statement>  |<statement>
> > ??
>
> It's simply a bitwise OR.
>
> --
> Ian Collins

Yes, but how does it get determined, which one actually gets returned?



More information about the Python-list mailing list