mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-23 20:11:13 +00:00
fixed unorderable types section
This commit is contained in:
parent
6a512b84d4
commit
7e2a6f33df
|
@ -1681,7 +1681,7 @@ div#notebook {
|
|||
<div class="inner_cell">
|
||||
<div class="text_cell_render border-box-sizing rendered_html">
|
||||
<p><a href="http://sebastianraschka.com">Sebastian Raschka</a></p>
|
||||
<p>last updated 05/24/2014</p>
|
||||
<p>last updated 05/27/2014</p>
|
||||
<ul>
|
||||
<li><p><a href="http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/key_differences_between_python_2_and_3.ipynb?create=1">Open in IPython nbviewer</a></p></li>
|
||||
<li><p><a href="https://github.com/rasbt/python_reference/blob/master/tutorials/key_differences_between_python_2_and_3.ipynb">Link to this IPython notebook on Github</a></p></li>
|
||||
|
@ -3793,7 +3793,7 @@ after: i = 1
|
|||
<div class="cell border-box-sizing code_cell rendered">
|
||||
<div class="input">
|
||||
<div class="prompt input_prompt">
|
||||
In []:
|
||||
In [2]:
|
||||
</div>
|
||||
<div class="inner_cell">
|
||||
<div class="input_area">
|
||||
|
@ -3807,6 +3807,25 @@ In []:
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="output_wrapper">
|
||||
<div class="output">
|
||||
|
||||
|
||||
<div class="output_area"><div class="prompt"></div>
|
||||
<div class="output_subarea output_stream output_stdout output_text">
|
||||
<pre>
|
||||
Python 2.7.6
|
||||
[1, 2] > 'foo' = False
|
||||
(1, 2) > 'foo' = True
|
||||
[1, 2] > (1, 2) = False
|
||||
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="cell border-box-sizing text_cell rendered">
|
||||
<div class="prompt input_prompt">
|
||||
|
@ -4183,7 +4202,8 @@ range(0, 3)
|
|||
</div>
|
||||
<div class="inner_cell">
|
||||
<div class="text_cell_render border-box-sizing rendered_html">
|
||||
<p>Here is a list of some good articles concerning Python 2 and 3 that I would recommend as a follow-up:</p>
|
||||
<p>Here is a list of some good articles concerning Python 2 and 3 that I would recommend as a follow-up.</p>
|
||||
<p><strong>// Porting to Python 3</strong></p>
|
||||
<ul>
|
||||
<li><p><a href="https://wiki.python.org/moin/Python2orPython3">Should I use Python 2 or Python 3 for my development activity?</a></p></li>
|
||||
<li><p><a href="https://docs.python.org/3.0/whatsnew/3.0.html">What’s New In Python 3.0</a></p></li>
|
||||
|
@ -4191,8 +4211,30 @@ range(0, 3)
|
|||
<li><p><a href="https://docs.python.org/3/howto/pyporting.html">Porting Python 2 Code to Python 3</a></p></li>
|
||||
<li><p><a href="http://nothingbutsnark.svbtle.com/my-view-on-the-current-state-of-python-3">How keep Python 3 moving forward</a></p></li>
|
||||
</ul>
|
||||
<p><strong>// Pro and anti Python 3</strong></p>
|
||||
<ul>
|
||||
<li><p><a href="http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/">Everything you did not want to know about Unicode in Python 3</a></p></li>
|
||||
<li><p><a href="https://medium.com/@deliciousrobots/5d2ad703365d/">Python 3 is killing Python</a></p></li>
|
||||
<li><p><a href="https://medium.com/p/2a7af4788b10">Python 3 can revive Python</a></p></li>
|
||||
<li><p><a href="http://sealedabstract.com/rants/python-3-is-fine/">Python 3 is fine</a></p></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cell border-box-sizing code_cell rendered">
|
||||
<div class="input">
|
||||
<div class="prompt input_prompt">
|
||||
In []:
|
||||
</div>
|
||||
<div class="inner_cell">
|
||||
<div class="input_area">
|
||||
<div class="highlight"><pre>
|
||||
</pre></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"metadata": {
|
||||
"name": "",
|
||||
"signature": "sha256:ad53a8e56dd6c7cd1c379333f92a5232a0403e9f4efbad8a765d42d71ebecc0f"
|
||||
"signature": "sha256:c21b89c5879797a1dd3fbd08797ca9ad15665dfb0cec3fca1ccf94bd601354b2"
|
||||
},
|
||||
"nbformat": 3,
|
||||
"nbformat_minor": 0,
|
||||
|
@ -1568,7 +1568,19 @@
|
|||
],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": []
|
||||
"outputs": [
|
||||
{
|
||||
"output_type": "stream",
|
||||
"stream": "stdout",
|
||||
"text": [
|
||||
"Python 2.7.6\n",
|
||||
"[1, 2] > 'foo' = False\n",
|
||||
"(1, 2) > 'foo' = True\n",
|
||||
"[1, 2] > (1, 2) = False\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"prompt_number": 2
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
|
|
Loading…
Reference in New Issue
Block a user