Skip to content

Commit 0f8ec70

Browse files
Nguyen-Khanh Vuhauntsaninja
andauthored
Remove redundant word in docstring (#7)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent 4226a6c commit 0f8ec70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiktoken/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def encode(
6868
and `disallowed_special` parameters. In particular:
6969
- Setting `disallowed_special` to () will prevent this function from raising errors and
7070
cause all text corresponding to special tokens to be encoded as natural text.
71-
- Setting `allowed_special` to "all" will allow cause this function to treat all text
71+
- Setting `allowed_special` to "all" will cause this function to treat all text
7272
corresponding to special tokens to be encoded as special tokens.
7373
7474
```

0 commit comments

Comments
 (0)