Pipe in the "return" statement
gordon at panix.com
Mon Jul 25 16:39:17 CEST 2011
In <1c175da2-79f4-40ed-803f-217dc935df6c at m8g2000yqo.googlegroups.com> Archard Lias <archardlias at googlemail.com> writes:
> > > return <statement> | <statement>
> > It's simply a bitwise OR.
> Yes, but how does it get determined, which one actually gets returned?
Neither value is returned on its own; the bitwise OR of both values is
computed and that value is returned.
It seems that you don't understand what the term "bitwise or" means.
Perhaps a Google search might help.
John Gordon A is for Amy, who fell down the stairs
gordon at panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
More information about the Python-list