[Python-checkins] cpython: Also add versionchanged directive to the function doc (#11591)

eric.araujo python-checkins at python.org
Thu May 26 16:51:44 CEST 2011


http://hg.python.org/cpython/rev/6ee5443773cb
changeset:   70405:6ee5443773cb
user:        Éric Araujo <merwok at netwok.org>
date:        Fri May 06 18:50:08 2011 +0200
summary:
  Also add versionchanged directive to the function doc (#11591)

files:
  Doc/library/site.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/library/site.rst b/Doc/library/site.rst
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -129,6 +129,10 @@
    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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list