fixed URLs to python docs (WHICH CHANGED OUT FROM UNDER ME)

This commit is contained in:
Mark Pilgrim
2009-04-09 19:10:43 -04:00
parent ebd0747aa0
commit 011d016e0a
3 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -219,7 +219,7 @@ def approximate_size(size, a_kilobyte_is_1024_bytes=True):
<samp class=p>>>> </samp><kbd>"{0:.1f} {1}".format(698.25, 'GB')</kbd>
<samp>'698.3 GB'</samp></pre>
<p>For all the gory details on format specifiers, consult the <a href="http://docs.python.org/dev/3.0/library/string.html#format-specification-mini-language">Format Specification Mini-Language</a> in the official Python documentation.
<p>For all the gory details on format specifiers, consult the <a href="http://docs.python.org/3.0/library/string.html#format-specification-mini-language">Format Specification Mini-Language</a> in the official Python documentation.
<h2 id=common-string-methods>Other Common String Methods</h2>
@@ -359,8 +359,8 @@ is an object. You might have thought I meant that string <em>variables</em> are
<p>On Unicode in Python:
<ul>
<li><a href="http://docs.python.org/dev/3.0/howto/unicode.html">Python Unicode HOWTO</a>
<li><a href="http://docs.python.org/dev/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit">What's New In Python 3: Text vs. Data Instead Of Unicode vs. 8-bit</a>
<li><a href="http://docs.python.org/3.0/howto/unicode.html">Python Unicode HOWTO</a>
<li><a href="http://docs.python.org/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit">What's New In Python 3: Text vs. Data Instead Of Unicode vs. 8-bit</a>
</ul>
<p>On Unicode in general:
@@ -382,9 +382,9 @@ is an object. You might have thought I meant that string <em>variables</em> are
<p>On strings and string formatting:
<ul>
<li><a href="http://docs.python.org/dev/3.0/library/string.html"><code>string</code> &mdash; Common string operations</a>
<li><a href="http://docs.python.org/dev/3.0/library/string.html#formatstrings">Format String Syntax</a>
<li><a href="http://docs.python.org/dev/3.0/library/string.html#format-specification-mini-language">Format Specification Mini-Language</a>
<li><a href="http://docs.python.org/3.0/library/string.html"><code>string</code> &mdash; Common string operations</a>
<li><a href="http://docs.python.org/3.0/library/string.html#formatstrings">Format String Syntax</a>
<li><a href="http://docs.python.org/3.0/library/string.html#format-specification-mini-language">Format Specification Mini-Language</a>
<li><a href="http://www.python.org/dev/peps/pep-3101/"><abbr>PEP</abbr> 3101: Advanced String Formatting</a>
</ul>