Silly newbie question - Carrot character (^)

Philip Semanchuk philip at semanchuk.com
Fri Nov 5 17:47:32 EDT 2010


On Nov 5, 2010, at 5:21 PM, Nobody wrote:

> On Fri, 05 Nov 2010 10:12:05 -0400, Philip Semanchuk wrote:
> 
>> As others have said, ^ is for XOR. That's buried here in the
>> documentation:
>> http://docs.python.org/release/2.7/reference/...
>> 
>> Not that I would have expected you to find it there since that's pretty
>> dense. In fact, older versions of the Python doc used to describe this
>> section as "for language lawyers" but I see they've changed that now.
> 
> However, it's still written for language lawyers.
> 
> IMHO, the lack of a reference manual for the language itself is a major
> hole in Python's documentation.

I agree.





More information about the Python-list mailing list