Kaydet (Commit) 8d76cca0 authored tarafından Georg Brandl's avatar Georg Brandl

Fix docstring for add_package in site.py.

üst d410b320
......@@ -118,8 +118,10 @@ def _init_pathinfo():
return d
def addpackage(sitedir, name, known_paths):
"""Add a new path to known_paths by combining sitedir and 'name' or execute
sitedir if it starts with 'import'"""
"""Process a .pth file within the site-packages directory:
For each line in the file, either combine it with sitedir to a path
and add that to known_paths, or execute it if it starts with 'import '.
"""
if known_paths is None:
_init_pathinfo()
reset = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment