Skip to content

Commit

Permalink
docs: fix @feud.rename docs example typo (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
eonu authored Oct 17, 2024
1 parent d3424ea commit 72c8268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/sections/decorators/rename.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ We can use the :py:func:`.rename` decorator to rename both the command and param
to:
Ending number.
"""
print(sum(range(from, to + 1)))
print(sum(range(from_, to + 1)))
if __name__ == "__main__":
feud.run(sum_)
Expand Down

0 comments on commit 72c8268

Please sign in to comment.