]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Updates functools.py with consistent quotes (GH-18825)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 11 Mar 2020 00:32:15 +0000 (03:32 +0300)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2020 00:32:15 +0000 (17:32 -0700)
I have noticed that `'` quotes are used everywhere except this particular case,
which was introduced in https://github.com/python/cpython/pull/18726

So, this is a trivial fix to enforce better consistency.

Lib/functools.py

index e230175e56ca0d53b1e5e26d80e2db6c3fc6961b..70fcec5a8f6d6ccffa4e119b5a25efeaf0f52b80 100644 (file)
@@ -13,7 +13,7 @@ __all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
            'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce',
            'TopologicalSorter', 'CycleError',
            'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod',
-           "cached_property"]
+           'cached_property']
 
 from abc import get_cache_token
 from collections import namedtuple