diff options
author | Michael W. Hudson <mwh@python.net> | 2005-04-27 09:41:23 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2005-04-27 09:41:23 (GMT) |
commit | e8dead47e6e69e8327c17a02ba00ffb4a9fb0c80 (patch) | |
tree | ba5e2c66be2fd08cc19c3649caf8d700da3e0af9 /Doc/tut | |
parent | f21569e53dfcf9f48a572126faae43944e1fed9c (diff) | |
download | cpython-e8dead47e6e69e8327c17a02ba00ffb4a9fb0c80.zip cpython-e8dead47e6e69e8327c17a02ba00ffb4a9fb0c80.tar.gz cpython-e8dead47e6e69e8327c17a02ba00ffb4a9fb0c80.tar.bz2 |
Fix
[ python-Bugs-1190599 ] dir() docs show incorrect output
though not entirely how it's suggested in the bug report.
Diffstat (limited to 'Doc/tut')
-rw-r--r-- | Doc/tut/tut.tex | 4 |
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. |