fixing the example
This commit is contained in:
parent
6e41d873d3
commit
93d51f0bb6
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue