summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:13:30 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2014-03-31 22:13:30 (GMT)
commit08af00047bb9266bfb6e1cfc539affd130b47170 (patch)
treedf8377d6570466219cf5d45bcee7eab05cf97cb0 /Doc/howto
parent5898d4f4d917c0f3e63f0a10d01ad445afa10b74 (diff)
downloadcpython-08af00047bb9266bfb6e1cfc539affd130b47170.zip
cpython-08af00047bb9266bfb6e1cfc539affd130b47170.tar.gz
cpython-08af00047bb9266bfb6e1cfc539affd130b47170.tar.bz2
Get rid of deprecated IOError in the doc
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/unicode.rst b/Doc/howto/unicode.rst
index 9d48a78..87badf3 100644
--- a/Doc/howto/unicode.rst
+++ b/Doc/howto/unicode.rst
@@ -246,7 +246,7 @@ include a Unicode character in a string literal::
try:
with open('/tmp/input.txt', 'r') as f:
...
- except IOError:
+ except OSError:
# 'File not found' error message.
print("Fichier non trouvé")