diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-03 04:15:28 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-03 04:15:28 (GMT) |
commit | 1b0e5490c566826188175b03458e123c043a7991 (patch) | |
tree | cc49420cb0cea4a302a0e676b9c3af65c0ec20ba /Lib/test/test_doctest2.py | |
parent | 17111f3b242be06c7ae913f106093891b82d7fee (diff) | |
download | cpython-1b0e5490c566826188175b03458e123c043a7991.zip cpython-1b0e5490c566826188175b03458e123c043a7991.tar.gz cpython-1b0e5490c566826188175b03458e123c043a7991.tar.bz2 |
Made the classmethod docstring test a bit less trivial.
Diffstat (limited to 'Lib/test/test_doctest2.py')
-rw-r--r-- | Lib/test/test_doctest2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_doctest2.py b/Lib/test/test_doctest2.py index 0cbe3d4..9a0e57c 100644 --- a/Lib/test/test_doctest2.py +++ b/Lib/test/test_doctest2.py @@ -87,10 +87,10 @@ class C(object): >>> print C.clsm(22) # 18 22 - >>> print C().clsm(22) # 19 - 22 + >>> print C().clsm(23) # 19 + 23 """ - return 22 + return val clsm = classmethod(clsm) |