mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
added some things to the TOC based on Reddit feedback
This commit is contained in:
+34
-11
@@ -54,7 +54,10 @@
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Documenting functions</h2>
|
||||
<h2>Documenting your code</h2>
|
||||
<h3>Docstrings</h3>
|
||||
<h3>Function annotations</h3>
|
||||
<h3>...</h3>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@@ -79,6 +82,7 @@
|
||||
|
||||
<section>
|
||||
<h1>Native Python datatypes</h1>
|
||||
<!-- "Lists and tuples and sets, oh my!" -->
|
||||
|
||||
<section>
|
||||
<h2>Lists</h2>
|
||||
@@ -124,6 +128,30 @@
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1></h1>
|
||||
<!-- "I read part of it all the way through." -->
|
||||
|
||||
<section>
|
||||
<h2>Iterators</h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Generators</h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Views</h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>...</h2>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h1>Strings</h1>
|
||||
|
||||
@@ -219,6 +247,9 @@
|
||||
|
||||
<section>
|
||||
<h2>...major changes afoot...</h2>
|
||||
<h2>...stuff about decorators...</h2>
|
||||
<h2>...stuff about importing modules...</h2>
|
||||
<h3>...mention why "from module import *" is only allowed at module level</h3>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@@ -566,11 +597,11 @@
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#dict"><code>keys()</code> dictionary method</a></h2>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#dict">Dictionary methods</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#dict"><code>items()</code> dictionary method</a></h2>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#imports">Modules that have been renamed or reorganized</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@@ -613,10 +644,6 @@
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#raw_input"><code>raw_input()</code> global function</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#input"><code>input()</code> global method</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#funcattrs"><code>func_*</code> function attributes</a></h2>
|
||||
</section>
|
||||
@@ -625,10 +652,6 @@
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#xreadlines"><code>xreadlines()</code> I/O method</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#imports">imports</a></h2>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2><a href="porting-code-to-python-3-with-2to3.html#tuple_params"><code>lambda</code> functions with multiple parameters</a></h2>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user