summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tut/tut.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index c48f249..46799ae 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -2637,10 +2637,10 @@ currently:
\begin{verbatim}
>>> a = [1, 2, 3, 4, 5]
->>> import fibo, sys
+>>> import fibo
>>> fib = fibo.fib
>>> dir()
-['__builtins__', '__doc__', '__file__', '__name__', 'fib', 'fib2']
+['__builtins__', '__doc__', '__file__', '__name__', 'a', 'fib']
\end{verbatim}
Note that it lists all types of names: variables, modules, functions, etc.