mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
migrate js to jquery
--HG-- rename : dip3.packed.js => dip3.min.js
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<meta charset="utf-8">
|
||||
<title>Porting code to Python 3 with 2to3 - Dive into Python 3</title>
|
||||
<link rel="stylesheet" type="text/css" href="dip3.css">
|
||||
<script type="text/javascript" src="dip3.packed.js"></script>
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript" src="dip3.js"></script>
|
||||
<link rel="shortcut icon" href="data:image/ico,">
|
||||
<link rel="alternate" type="application/atom+xml" href="http://hg.diveintopython3.org/atom-log">
|
||||
<style type="text/css">
|
||||
@@ -911,13 +912,13 @@ except:
|
||||
<th>Python 2</th>
|
||||
<th>Python 3</th>
|
||||
</tr>
|
||||
<tr><th>①</th>
|
||||
<tr><th></th>
|
||||
<td><code>aClassInstance.aClassMethod.im_func</code></td>
|
||||
<td><code>aClassInstance.aClassMethod.__func__</code></td></tr>
|
||||
<tr><th>②</th>
|
||||
<tr><th></th>
|
||||
<td><code>aClassInstance.aClassMethod.im_self</code></td>
|
||||
<td><code>aClassInstance.aClassMethod.__self__</code></td></tr>
|
||||
<tr><th>③</th>
|
||||
<tr><th></th>
|
||||
<td><code>aClassInstance.aClassMethod.im_class</code></td>
|
||||
<td><code>aClassInstance.aClassMethod.self.__class__</code></td></tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user