typo [thanks GG]

This commit is contained in:
Mark Pilgrim
2010-01-11 17:38:05 -05:00
parent 902981e268
commit 8976ce08a4
+1 -1
View File
@@ -166,7 +166,7 @@ def approximate_size(size, a_kilobyte_is_1024_bytes=True):
</ol>
<aside>{0} is replaced by the 1<sup>st</sup> format() argument. {1} is replaced by the 2<sup>nd</sup>.</aside>
<p>What this example shows is that <em>format specifers can access items and properties of data structures using (almost) Python syntax</em>. This is called <i>compound field names</i>. The following compound field names &#8220;just work&#8221;:
<p>What this example shows is that <em>format specifiers can access items and properties of data structures using (almost) Python syntax</em>. This is called <i>compound field names</i>. The following compound field names &#8220;just work&#8221;:
<ul>
<li>Passing a list, and accessing an item of the list by index (as in the previous example)