From 17b60f0367db0ae8cd6d4ce6a6ea8330b4802029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Fri, 6 May 2011 18:50:08 +0200 Subject: Also add versionchanged directive to the function doc (#11591) --- Doc/library/site.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/site.rst b/Doc/library/site.rst index 23ce465..46bd5dc 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -129,6 +129,10 @@ empty, and the path manipulations are skipped; however the import of unless the :program:`python` interpreter was started with the :option:`-S` flag. + .. versionchanged:: 3.3 + This function used to be called unconditionnally. + + .. function:: addsitedir(sitedir, known_paths=None) Adds a directory to sys.path and processes its pth files. -- cgit v0.12