From 8d76cca0265aaa23d2a59af3bfb1bcd133c0a59d Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 19 May 2007 18:09:26 +0000 Subject: Fix docstring for add_package in site.py. --- Lib/site.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lib/site.py b/Lib/site.py index 5033f8a..0618550 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -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 -- cgit v0.12