mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
syntax coloring
This commit is contained in:
@@ -388,7 +388,7 @@ class FieldStorage:
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__truediv__><code>x.<dfn>__truediv__</dfn>(<var>y</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>floor division
|
||||
<td><code class=pp>x // y</code>
|
||||
<td><code>x // y</code>
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__floordiv__><code>x.<dfn>__floordiv__</dfn>(<var>y</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>modulo (remainder)
|
||||
@@ -466,7 +466,7 @@ class FieldStorage:
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__rtruediv__><code>y.<dfn>__rtruediv__</dfn>(<var>x</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>floor division
|
||||
<td><code class=pp>x // y</code>
|
||||
<td><code>x // y</code>
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__rfloordiv__><code>y.<dfn>__rfloordiv__</dfn>(<var>x</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>modulo (remainder)
|
||||
@@ -527,7 +527,7 @@ class FieldStorage:
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__itruediv__><code>x.<dfn>__itruediv__</dfn>(<var>y</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>in-place floor division
|
||||
<td><code class=pp>x //= y</code>
|
||||
<td><code>x //= y</code>
|
||||
<td><a href=http://www.python.org/doc/3.1/reference/datamodel.html#object.__ifloordiv__><code>x.<dfn>__ifloordiv__</dfn>(<var>y</var>)</code></a>
|
||||
<tr><th>
|
||||
<td>in-place modulo
|
||||
|
||||
Reference in New Issue
Block a user