Made the classmethod docstring test a bit less trivial.

This commit is contained in:
Tim Peters 2001-10-03 04:15:28 +00:00
parent 17111f3b24
commit 1b0e5490c5
1 changed files with 3 additions and 3 deletions

View File

@ -87,10 +87,10 @@ def clsm(cls, val):
>>> 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)