Skip to content

Commit

Permalink
Improve documentation in misc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikulimu authored and xavfernandez committed Oct 29, 2018
1 parent bc5ac33 commit 4ccea7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Empty file.
4 changes: 3 additions & 1 deletion src/pip/_internal/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,9 @@ def dist_in_site_packages(dist):


def dist_is_editable(dist):
"""Is distribution an editable install?"""
"""
Return True if given Distribution is an editable install.
"""
for path_item in sys.path:
egg_link = os.path.join(path_item, dist.project_name + '.egg-link')
if os.path.isfile(egg_link):
Expand Down

0 comments on commit 4ccea7e

Please sign in to comment.