Python Reference Manual
Previous: Up: 2. Lexical analysis Next:


2.5 Operators

The following tokens are operators:

+ - * ** / // %
<< >> & | ^ ~
< > <= >= == != <>

The comparison operators <> and != are alternate spellings of the same operator. != is the preferred spelling; <> is obsolescent.


Python Reference Manual
Previous: Up: 2. Lexical analysis Next:

Release 2.5, documentation updated on 19th September, 2006.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /