Skip to content

Commit b23b903

Browse files
authored
Hotfixing the stub. (#1802)
1 parent 2658dd2 commit b23b903

File tree

1 file changed

+1
-1
lines changed
  • bindings/python/py_src/tokenizers/pre_tokenizers

1 file changed

+1
-1
lines changed

bindings/python/py_src/tokenizers/pre_tokenizers/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ class Whitespace(PreTokenizer):
535535
536536
pre_tokenizer = Whitespace()
537537
text = "Hello, world! Let's try the Whitespace pre-tokenizer."
538-
pre_tokenizer.pretokenize_str(text)
538+
pre_tokenizer.pre_tokenize_str(text)
539539
[('Hello', (0, 5)),
540540
(',', (5, 6)),
541541
('world', (7, 12)),

0 commit comments

Comments
 (0)