diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 04:48:45 +0000 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-13 04:48:45 +0000 |
commit | 8f7649eae4194c3ed5407714300a1da1daf8bee0 (patch) | |
tree | 8c37d96adae2e33a8ed09d2dc885e93089a462b7 /Doc/library/modulefinder.rst | |
parent | 6aa7c8ce3ce0ef942956ee4cf3563082d53f0d75 (diff) | |
download | cpython-git-8f7649eae4194c3ed5407714300a1da1daf8bee0.tar.gz |
more list()s on dictviews
Diffstat (limited to 'Doc/library/modulefinder.rst')
-rw-r--r-- | Doc/library/modulefinder.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/modulefinder.rst b/Doc/library/modulefinder.rst index 6db02ff408..41b387bb99 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:') |