summaryrefslogtreecommitdiff
path: root/python/bncompleter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/bncompleter.py')
-rw-r--r--python/bncompleter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/bncompleter.py b/python/bncompleter.py
index 330cf0d0..0063bf5f 100644
--- a/python/bncompleter.py
+++ b/python/bncompleter.py
@@ -197,7 +197,7 @@ class Completer:
while True:
for word in words:
if (word[:n] == attr and not (noprefix and word[:n+1] == noprefix)):
- match = "%s.%s" % (expr, word)
+ match = f"{expr}.{word}"
try:
val = inspect.getattr_static(thisobject, word)
except Exception: