[Python-checkins] r73517 - peps/trunk/pep-0376.txt

tarek.ziade python-checkins at python.org
Tue Jun 23 10:55:56 CEST 2009


Author: tarek.ziade
Date: Tue Jun 23 10:55:56 2009
New Revision: 73517
Log:
specifying that get_egginfo_file opens in read-only mode
Modified:
 peps/trunk/pep-0376.txt
Modified: peps/trunk/pep-0376.txt
==============================================================================
--- peps/trunk/pep-0376.txt	(original)
+++ peps/trunk/pep-0376.txt	Tue Jun 23 10:55:56 2009
@@ -344,7 +344,8 @@
 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
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /