fixing the example

This commit is contained in:
Tarek Ziadé 2009-03-28 18:53:28 +00:00
parent 6e41d873d3
commit 93d51f0bb6
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ Let's use it with our `zlib` example::
>>> from pkgutil import get_egg_info, get_metadata, get_egg_info_file
>>> get_egg_info('zlib')
'/opt/local/lib/python2.6/site-packages/zlib-2.5.2-py2.6.egg-info'
'/opt/local/lib/python2.6/site-packages/zlib-2.5.2.egg-info'
>>> metadata = get_metadata('zlib')
>>> metadata.version
'2.5.2'