diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-24 09:20:23 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-24 09:40:16 -0400 |
| commit | 5a288649e8fcb999c11cca17ad0c1956f3ef8e11 (patch) | |
| tree | 7d9df04c7ffaa25d6192cfd09f3e48c2b06054a7 /python/bncompleter.py | |
| parent | ad16e8b3d27e30cc4eefb7c673f7646a30fe2f26 (diff) | |
Use more f-strings
Diffstat (limited to 'python/bncompleter.py')
| -rw-r--r-- | python/bncompleter.py | 2 |
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: |
