[Tutor] Re: Print ogre
Charlie Clark
charlie@begeistert.org
Fri, 22 Feb 2002 06:30:42 -0500
>| Where else does ">>" occur in Python=3F
>
>Right shift.
..
>It is a bitwise operator. aa is 10101010 in binary. Right shift it
>one place and you get 01010101 which in hex is 55. Shift it two
>places and you get 00101010 which is 2a in hex.
In other words there is no overlap between the two uses. ">>" doesn't
have a generic meaning or use making reusable in different contexts. A
good reason for removing it in print >> as a way to remove a possible
source of confusion. Time to check the reasons for introducing it and
the rules for writing a PEP.
Charlie