From: Éric Araujo Date: Fri, 6 May 2011 16:50:08 +0000 (+0200) Subject: Also add versionchanged directive to the function doc (#11591) X-Git-Tag: v3.3.0a1~2183^2~87^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17b60f0367db0ae8cd6d4ce6a6ea8330b4802029;p=python Also add versionchanged directive to the function doc (#11591) --- diff --git a/Doc/library/site.rst b/Doc/library/site.rst index 23ce46504f..46bd5dc6bd 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.