varia.website/venv/lib/python3.11/site-packages/PIL/_tkinter_finder.py
2024-11-19 14:01:39 +01:00

10 lines
224 B
Python

""" Find compiled module linking to Tcl / Tk libraries
"""
import sys
from tkinter import _tkinter as tk
if hasattr(sys, "pypy_find_executable"):
TKINTER_LIB = tk.tklib_cffi.__file__
else:
TKINTER_LIB = tk.__file__