summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/controlflow.rst
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:14:27 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:14:27 (GMT)
commitd6ee27895adbd7cf66f8dd1591ecced7cc8d70fc (patch)
tree517922418de871dc1088b9d6cffc62eadbf3ab80 /Doc/tutorial/controlflow.rst
parenta7906dd2d9fa19b9722d81e8d53fcc855bc8f8c0 (diff)
parent08af00047bb9266bfb6e1cfc539affd130b47170 (diff)
downloadcpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.zip
cpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.tar.gz
cpython-d6ee27895adbd7cf66f8dd1591ecced7cc8d70fc.tar.bz2
Merge 3.4: Get rid of deprecated IOError in the doc
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 97aea4f..ef50731 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -370,7 +370,7 @@ defined to allow. For example::
return False
retries = retries - 1
if retries < 0:
- raise IOError('uncooperative user')
+ raise OSError('uncooperative user')
print(complaint)
This function can be called in several ways: