summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-05-06 16:50:08 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-05-06 16:50:08 (GMT)
commit17b60f0367db0ae8cd6d4ce6a6ea8330b4802029 (patch)
treeba75438374d5efbf5e598077d0f1cbf19e881d29 /Doc
parent1e794f66f4503561f651547d08653d8ee3a87c34 (diff)
downloadcpython-17b60f0367db0ae8cd6d4ce6a6ea8330b4802029.zip
cpython-17b60f0367db0ae8cd6d4ce6a6ea8330b4802029.tar.gz
cpython-17b60f0367db0ae8cd6d4ce6a6ea8330b4802029.tar.bz2
Also add versionchanged directive to the function doc (#11591)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/site.rst4
1 files changed, 4 insertions, 0 deletions
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.