Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 4, 2024
1 parent 20627dc commit 6ae8b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/what_are_tokens/summation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Any tokens can be summed up among themselves. The summation operation generates
from cantok import SimpleToken, TimeoutToken

print(repr(SimpleToken() + TimeoutToken(5)))
# SimpleToken(SimpleToken(), TimeoutToken(5))
#> SimpleToken(TimeoutToken(5))
```

This feature is convenient to use if your function has received a token with certain restrictions and wants to throw it into other called functions, imposing additional restrictions:
Expand Down

0 comments on commit 6ae8b1e

Please sign in to comment.