summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-05-22 11:37:07 -0700
committerClaudiu Popa <pcmanticore@gmail.com>2018-05-22 20:37:07 +0200
commit377cc42f9e3116ff97cddd4567d53e9a3e24ebf9 (patch)
treecd590d0bc6750f8e83071884ca29ae1bcdafeb02 /pylint/checkers/classes.py
parentbf258d2d9a30385f62e4c77158fa0427134e7603 (diff)
downloadpylint-git-377cc42f9e3116ff97cddd4567d53e9a3e24ebf9.tar.gz
pyupgrade (#2136)
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r--pylint/checkers/classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 75416c49d..cbf4759ac 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -350,7 +350,7 @@ def _is_attribute_property(name, klass):
attributes = klass.getattr(name)
except astroid.NotFoundError:
return False
- property_name = "{0}.property".format(BUILTINS)
+ property_name = "{}.property".format(BUILTINS)
for attr in attributes:
try:
infered = next(attr.infer())