Skip to content

Commit 5d970c1

Browse files
authored
Use future annotations in tiktoken._educational (#143)
1 parent 95b03bf commit 5d970c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tiktoken/_educational.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
"""This is an educational implementation of the byte pair encoding algorithm."""
2+
from __future__ import annotations
3+
24
import collections
35
import itertools
46
from typing import Optional

0 commit comments

Comments
 (0)