summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/tut/tut.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index 3b63918..14cb3ca 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -2708,7 +2708,7 @@ useful to place code that must be executed if the try clause does not
raise an exception. For example:
\begin{verbatim}
-for arg in sys.argv:
+for arg in sys.argv[1:]:
try:
f = open(arg, 'r')
except IOError: