diff options
Diffstat (limited to 'sphinx/ext/coverage.py')
-rw-r--r-- | sphinx/ext/coverage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/coverage.py b/sphinx/ext/coverage.py index da2a72b54..362a644f5 100644 --- a/sphinx/ext/coverage.py +++ b/sphinx/ext/coverage.py @@ -172,7 +172,7 @@ class CoverageBuilder(Builder): # is not defined in this module continue - full_name = '%s.%s' % (mod_name, name) + full_name = f'{mod_name}.{name}' if self.ignore_pyobj(full_name): continue @@ -215,7 +215,7 @@ class CoverageBuilder(Builder): if skip_undoc and not attr.__doc__: # skip methods without docstring if wished continue - full_attr_name = '%s.%s' % (full_name, attr_name) + full_attr_name = f'{full_name}.{attr_name}' if self.ignore_pyobj(full_attr_name): continue if full_attr_name not in objects: |