Kaydet (Commit) 1b0e5490 authored tarafından Tim Peters's avatar Tim Peters

Made the classmethod docstring test a bit less trivial.

üst 17111f3b
...@@ -87,10 +87,10 @@ class C(object): ...@@ -87,10 +87,10 @@ class C(object):
>>> print C.clsm(22) # 18 >>> print C.clsm(22) # 18
22 22
>>> print C().clsm(22) # 19 >>> print C().clsm(23) # 19
22 23
""" """
return 22 return val
clsm = classmethod(clsm) clsm = classmethod(clsm)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment