Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5a2673

Browse files
committed
Merged revisions 80068 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r80068 | georg.brandl | 2010-04-14 10:56:01 +0200 (Mi, 14 Apr 2010) | 1 line #5341: fix typo and adapt docstring syntax. ........
1 parent 8173fb3 commit e5a2673

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/functools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def wraps(wrapped,
5151
assigned=assigned, updated=updated)
5252

5353
def total_ordering(cls):
54-
'Class decorator that fills-in missing ordering methods'
54+
"""Class decorator that fills in missing ordering methods"""
5555
convert = {
5656
'__lt__': [('__gt__', lambda self, other: other < self),
5757
('__le__', lambda self, other: not other < self),
@@ -78,7 +78,7 @@ def total_ordering(cls):
7878
return cls
7979

8080
def cmp_to_key(mycmp):
81-
'Convert a cmp= function into a key= function'
81+
"""Convert a cmp= function into a key= function"""
8282
class K(object):
8383
def __init__(self, obj, *args):
8484
self.obj = obj

0 commit comments

Comments
 (0)