diff options
author | PJ Eby <distutils-sig@python.org> | 2005-08-14 17:30:15 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-08-14 17:30:15 +0000 |
commit | 46ff6911ca478ce350ad5cf20a656113cfdfa2ae (patch) | |
tree | 405ba862e9462e16f8ea5df607159a3b161e5be0 /pkg_resources.py | |
parent | eeaf2b98ef55397b63a169f619aba4e34f2a9800 (diff) | |
download | external_python_setuptools-46ff6911ca478ce350ad5cf20a656113cfdfa2ae.tar.gz external_python_setuptools-46ff6911ca478ce350ad5cf20a656113cfdfa2ae.tar.bz2 external_python_setuptools-46ff6911ca478ce350ad5cf20a656113cfdfa2ae.zip |
Document "Distribution" objects. Now the API reference is complete, and I
just need to write the Overview and Developer's Guide sections so that most
people won't have to actually *read* the API reference. :)
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041197
Diffstat (limited to 'pkg_resources.py')
-rw-r--r-- | pkg_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index e0590eba..39784ea3 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1881,9 +1881,9 @@ class Distribution(object): from_filename = classmethod(from_filename) def as_requirement(self): + """Return a ``Requirement`` that matches this distribution exactly""" return Requirement.parse('%s==%s' % (self.project_name, self.version)) - def load_entry_point(self, group, name): """Return the `name` entry point of `group` or raise ImportError""" ep = self.get_entry_info(group,name) |