summaryrefslogtreecommitdiffstats
path: root/Doc/library/modulefinder.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:08:32 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:08:32 (GMT)
commit2befd9a34c2de6a35aa9ea0f2e63f6cfaeed923b (patch)
treed8a9071bf08aaa05504465dc1cf77f852637c040 /Doc/library/modulefinder.rst
parentb2f9e3bd5bcea5e0f10db61b6ad873844fdacded (diff)
downloadcpython-2befd9a34c2de6a35aa9ea0f2e63f6cfaeed923b.zip
cpython-2befd9a34c2de6a35aa9ea0f2e63f6cfaeed923b.tar.gz
cpython-2befd9a34c2de6a35aa9ea0f2e63f6cfaeed923b.tar.bz2
Merged revisions 74762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74762 | ezio.melotti | 2009-09-13 07:48:45 +0300 (Sun, 13 Sep 2009) | 1 line more list()s on dictviews ........
Diffstat (limited to 'Doc/library/modulefinder.rst')
-rw-r--r--Doc/library/modulefinder.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/modulefinder.rst b/Doc/library/modulefinder.rst
index 6db02ff..41b387b 100644
--- a/Doc/library/modulefinder.rst
+++ b/Doc/library/modulefinder.rst
@@ -84,7 +84,7 @@ The script that will output the report of bacon.py::
print('Loaded modules:')
for name, mod in finder.modules.items():
print('%s: ' % name, end='')
- print(','.join(mod.globalnames.keys()[:3]))
+ print(','.join(list(mod.globalnames.keys())[:3]))
print('-'*50)
print('Modules not imported:')