Also add versionchanged directive to the function doc (#11591)

This commit is contained in:
Éric Araujo 2011-05-06 18:50:08 +02:00
parent 1e794f66f4
commit 17b60f0367

View file

@ -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.