[Python-checkins] e8dc941b6cae in distutils2: added an __all__ statement

tarek.ziade hg at python.org
Fri Mar 5 00:31:24 CET 2010


tarek.ziade pushed e8dc941b6cae to distutils2:
http://hg.python.org/distutils2/rev/e8dc941b6cae
changeset: 69:e8dc941b6cae
user: Tarek Ziade <tarek at ziade.org>
date: Thu Mar 04 19:34:56 2010 +0100
summary: added an __all__ statement
diff --git a/src/distutils2/metadata.py b/src/distutils2/metadata.py
--- a/src/distutils2/metadata.py
+++ b/src/distutils2/metadata.py
@@ -85,6 +85,9 @@
 # docutils is not installed
 _HAS_DOCUTILS = False
 
+# public API of this module
+__all__ = ('DistributionMetadata', 'PKG_INFO_ENCODING')
+
 # Encoding used for the PKG-INFO files
 PKG_INFO_ENCODING = 'utf-8'
 
--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list

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