[Python-checkins] cpython (3.2): Add version number for versionchanged directive (backport from 3.3)
georg.brandl
python-checkins at python.org
Sun Sep 4 08:42:36 CEST 2011
http://hg.python.org/cpython/rev/062a3305a606
changeset: 72247:062a3305a606
branch: 3.2
user: Éric Araujo <merwok at netwok.org>
date: Thu Sep 01 05:55:26 2011 +0200
summary:
Add version number for versionchanged directive (backport from 3.3)
files:
Doc/library/unittest.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -723,8 +723,8 @@
Here, we create two instances of :class:`WidgetTestCase`, each of which runs a
single test.
- .. versionchanged::
- `TestCase` can be instantiated successfully without providing a method
+ .. versionchanged:: 3.2
+ :class:`TestCase` can be instantiated successfully without providing a method
name. This makes it easier to experiment with `TestCase` from the
interactive interpreter.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list