specifying that get_egginfo_file opens in read-only mode

This commit is contained in:
Tarek Ziadé 2009-06-23 08:55:56 +00:00
parent 76059d2cbb
commit 98e6c43034
1 changed files with 2 additions and 1 deletions

View File

@ -344,7 +344,8 @@ And following methods:
If ``path`` is an absolute path and doesn't start with the `.egg-info`
directory path, a ``DistutilsError`` is raised.
If ``binary`` is ``True``, opens the file in binary mode.
If ``binary`` is ``True``, opens the file in read-only binary mode (`rb`),
otherwise opens it in read-only mode (`r`).
- ``get_egginfo_files(local=False)`` -> iterator of paths