From 12f8c4d2e3edf2717869c7578616f188ecd2daed Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 9 Jul 2004 23:38:18 +0000 Subject: [PATCH] Change argument list for addsitedir() to not require a second argument and thus match old verion's argument list (overlooked since API of the file is undocumented). --- Lib/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/site.py b/Lib/site.py index a5fce06985..241068cb4f 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -145,7 +145,7 @@ def addpackage(sitedir, name, known_paths): known_paths = None return known_paths -def addsitedir(sitedir, known_paths): +def addsitedir(sitedir, known_paths=None): """Add 'sitedir' argument to sys.path if missing and handle .pth files in 'sitedir'""" if known_paths is None: -- 2.50.1