Skip to content

Commit 5d6b67b

Browse files
committed
Fix type check
1 parent 88a4418 commit 5d6b67b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setuptools/compat/py312.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
from __future__ import annotations
2+
13
import sys
24

35
if sys.version_info >= (3, 12, 4):
46
# Python 3.13 should support `.pth` files encoded in UTF-8
57
# See discussion in https://github.com/python/cpython/issues/77102
6-
PTH_ENCODING = "utf-8"
8+
PTH_ENCODING: str | None = "utf-8"
79
else:
810
from .py39 import LOCALE_ENCODING
911

0 commit comments

Comments
 (0)