[Python-checkins] Updates functools.py with consistent quotes (GH-18825)

Nikita Sobolev webhook-mailer at python.org
Tue Mar 10 20:32:22 EDT 2020


https://github.com/python/cpython/commit/bd87a7fda07275e868c8e0d4fdd091bf9d6394a5
commit: bd87a7fda07275e868c8e0d4fdd091bf9d6394a5
branch: master
author: Nikita Sobolev <mail at sobolevn.me>
committer: GitHub <noreply at github.com>
date: 2020-03-10T17:32:15-07:00
summary:

Updates functools.py with consistent quotes (GH-18825)



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.

files:
M Lib/functools.py

diff --git a/Lib/functools.py b/Lib/functools.py
index e230175e56ca0..70fcec5a8f6d6 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -13,7 +13,7 @@
            '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



More information about the Python-checkins mailing list