Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Jul 29, 2022
1 parent 2fcf18f commit 88466d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/_add_newdocs_scalars.py
Expand Up @@ -80,7 +80,7 @@ def add_newdoc_for_scalar_type(obj, fixed_aliases, doc):
for alias in fixed_aliases)
else:
alias_doc = ''
alias_doc += ''.join("{_doc_alias_string} `numpy.{alias}`: {doc}.\n "
alias_doc += ''.join(f"{_doc_alias_string} `numpy.{alias}`: {doc}.\n "
for (alias_type, alias, doc) in possible_aliases if alias_type is o)

docstring = f"""
Expand Down

0 comments on commit 88466d2

Please sign in to comment.