Skip to content

Commit

Permalink
Minor bug fix with f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAsa committed Apr 15, 2024
1 parent d498772 commit cc25f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/distutils/system_info.py
Expand Up @@ -819,7 +819,7 @@ def get_option_single(self, *options):
if AliasedOptionError.__doc__ is None:
raise AliasedOptionError()
raise AliasedOptionError(AliasedOptionError.__doc__.format(
section=self.section, options=f'[{', '.join(options)}]'))
section=self.section, options=f'[{", ".join(options)}]'))


def has_info(self):
Expand Down

0 comments on commit cc25f72

Please sign in to comment.