summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-26 14:37:28 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-26 14:37:28 (GMT)
commitd7d4fd7336baca618eb02b9a7e862bd8452d8f7d (patch)
tree2273b0b04e103df5de2a4d51d56bcf20793f1719 /Doc/howto
parent9fa61bb37d68225c827aa7809382ea701c264db5 (diff)
downloadcpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.zip
cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.gz
cpython-d7d4fd7336baca618eb02b9a7e862bd8452d8f7d.tar.bz2
builtin -> built-in.
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/doanddont.rst2
-rw-r--r--Doc/howto/urllib2.rst7
2 files changed, 4 insertions, 5 deletions
diff --git a/Doc/howto/doanddont.rst b/Doc/howto/doanddont.rst
index eee5765..f795ead 100644
--- a/Doc/howto/doanddont.rst
+++ b/Doc/howto/doanddont.rst
@@ -261,7 +261,7 @@ Compare::
More useful functions in :mod:`os.path`: :func:`basename`, :func:`dirname` and
:func:`splitext`.
-There are also many useful builtin functions people seem not to be aware of for
+There are also many useful built-in functions people seem not to be aware of for
some reason: :func:`min` and :func:`max` can find the minimum/maximum of any
sequence with comparable semantics, for example, yet many people write their own
:func:`max`/:func:`min`. Another highly useful function is :func:`reduce`. A
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 409bc8e..e10a5a4 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -182,10 +182,9 @@ which comes after we have a look at what happens when things go wrong.
Handling Exceptions
===================
-*urlopen* raises :exc:`URLError` when it cannot handle a response (though as usual
-with Python APIs, builtin exceptions such as
-:exc:`ValueError`, :exc:`TypeError` etc. may also
-be raised).
+*urlopen* raises :exc:`URLError` when it cannot handle a response (though as
+usual with Python APIs, built-in exceptions such as :exc:`ValueError`,
+:exc:`TypeError` etc. may also be raised).
:exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific case of
HTTP URLs.