mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
etc fiddling
This commit is contained in:
@@ -651,7 +651,7 @@ reduce(a, b, c)</code></pre>
|
||||
</table>
|
||||
|
||||
<ol>
|
||||
<li>Remember, <var>x</var> can be anything — a class, a function, a module, a primitive data type, etc. The <code>repr()</code> function works on everything.
|
||||
<li>Remember, <var>x</var> can be anything — a class, a function, a module, a primitive data type, <i class=baa>&</i>c. The <code>repr()</code> function works on everything.
|
||||
<li>In Python 2, backticks could be nested, leading to this sort of confusing (but valid) expression. The <code>2to3</code> tool is smart enough to convert this into nested calls to <code>repr()</code>.
|
||||
</ol>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user