]> granicus.if.org Git - python/commitdiff
"Thin" version of floor division docs: add // to the list of operators
authorFred Drake <fdrake@acm.org>
Wed, 8 Aug 2001 05:37:21 +0000 (05:37 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 8 Aug 2001 05:37:21 +0000 (05:37 +0000)
and //= to the list of other delimiter tokens.

I'll work on it again when it's not so late...

Doc/ref/ref2.tex

index 02c05cdc4a9d2d274787e5296016ead5047ed814..0e4ea26ea7e86569deaa34aafa680730d0c49e7d 100644 (file)
@@ -563,7 +563,7 @@ The following tokens are operators:
 \index{operators}
 
 \begin{verbatim}
-+       -       *       **      /       %
++       -       *       **      /       //      %
 <<      >>      &       |       ^       ~
 <       >       <=      >=      ==      !=      <>
 \end{verbatim}
@@ -581,8 +581,8 @@ The following tokens serve as delimiters in the grammar:
 \begin{verbatim}
 (       )       [       ]       {       }
 ,       :       .       `       =       ;
-+=      -=      *=      /=      %=      **=
-&=      |=      ^=      >>=     <<=
++=      -=      *=      /=      //=     %=
+&=      |=      ^=      >>=     <<=     **=
 \end{verbatim}
 
 The period can also occur in floating-point and imaginary literals.  A