summaryrefslogtreecommitdiffstats
path: root/Doc/library/imp.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-03-24 08:06:18 (GMT)
committerGeorg Brandl <georg@python.org>2014-03-24 08:06:18 (GMT)
commitdf48b97855b378a13d852656d358ca92ecbe4aa3 (patch)
tree3075e47c89a79974038451d9e65cd59c7f533396 /Doc/library/imp.rst
parent645d3b76559d3c85cc90d2c8787fa6c765327e71 (diff)
downloadcpython-df48b97855b378a13d852656d358ca92ecbe4aa3.zip
cpython-df48b97855b378a13d852656d358ca92ecbe4aa3.tar.gz
cpython-df48b97855b378a13d852656d358ca92ecbe4aa3.tar.bz2
Fix a few scoping issues with versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/imp.rst')
-rw-r--r--Doc/library/imp.rst30
1 files changed, 15 insertions, 15 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
index 8f0b79f..ed4820e 100644
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -262,12 +262,12 @@ that circular imports work without any deadlocks.
exception is made for circular imports, which by construction have to
expose an incomplete module object at some point.
-.. versionchanged:: 3.3
- The locking scheme has changed to per-module locks for
- the most part. A global import lock is kept for some critical tasks,
- such as initializing the per-module locks.
+ .. versionchanged:: 3.3
+ The locking scheme has changed to per-module locks for
+ the most part. A global import lock is kept for some critical tasks,
+ such as initializing the per-module locks.
-.. deprecated:: 3.4
+ .. deprecated:: 3.4
.. function:: acquire_lock()
@@ -282,12 +282,12 @@ that circular imports work without any deadlocks.
On platforms without threads, this function does nothing.
-.. versionchanged:: 3.3
- The locking scheme has changed to per-module locks for
- the most part. A global import lock is kept for some critical tasks,
- such as initializing the per-module locks.
+ .. versionchanged:: 3.3
+ The locking scheme has changed to per-module locks for
+ the most part. A global import lock is kept for some critical tasks,
+ such as initializing the per-module locks.
-.. deprecated:: 3.4
+ .. deprecated:: 3.4
.. function:: release_lock()
@@ -295,12 +295,12 @@ that circular imports work without any deadlocks.
Release the interpreter's global import lock. On platforms without
threads, this function does nothing.
-.. versionchanged:: 3.3
- The locking scheme has changed to per-module locks for
- the most part. A global import lock is kept for some critical tasks,
- such as initializing the per-module locks.
+ .. versionchanged:: 3.3
+ The locking scheme has changed to per-module locks for
+ the most part. A global import lock is kept for some critical tasks,
+ such as initializing the per-module locks.
-.. deprecated:: 3.4
+ .. deprecated:: 3.4
The following constants with integer values, defined in this module, are used