This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: small output bug
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: alevchuk
Priority: normal Keywords:

Created on 2005-06-13 02:56 by alevchuk, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (1)
msg25533 - (view) Author: Aleksandr Levchuk (alevchuk) Date: 2005-06-13 02:56
6.3 The dir() Function 
<http://docs.python.org/tut/node8.html>
contains a bug:

>>> a = [1, 2, 3, 4, 5]
>>> import fibo, sys
>>> fib = fibo.fib
>>> dir()
['__builtins__', '__doc__', '__file__', '__name__',
'fib', 'fib2']


here last line should be
['__builtins__', '__doc__', '__name__', 'a', 'fib',
'fibo', 'sys']
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 42078
2005-06-13 02:56:38alevchukcreate